summaryrefslogtreecommitdiff
path: root/ext/POSIX/t
Commit message (Collapse)AuthorAgeFilesLines
* ext/File/Gob/t/basic.t, ext/POSIX/t/posix.t vms fixesJohn Malmberg2009-01-081-3/+25
| | | | | | | Message-id: <496108CE.1060704@gmail.com> The tests ext/File/Glob/t/basic.t and ext/POSIX/t/posix.t need to know if VMS is in the UNIX compatible mode.
* Make ext/POSIX/t/sysconf.t use File::Spec->tmpdir() for pathconf/Nicholas Clark2008-02-291-6/+10
| | | | | | fpathconf testing rather than ->curdir(), as the latter can be on networked storage that fails the syscall (and the tests). p4raw-id: //depot/perl@33401
* Re: fpathconf test failures on QNXMatt Kraai2007-11-281-8/+12
| | | | | Message-ID: <20071127190019.GA6319@ftbfs.org> p4raw-id: //depot/perl@32524
* Correct parentheses. Calling Win32::GetOSVersion() on non-win32 wouldNicholas Clark2007-08-161-2/+2
| | | | | be bad, m'kay. p4raw-id: //depot/perl@31725
* Skip the POSIX::strftime() time test with a 60sec parameter on Vista:Steve Hay2007-08-151-3/+5
| | | | | | | | | | | it seems to have the same problem as when built with the VC8 CRT (Fixes perl #44589) Also, change the %D to the equivalent %m/%d/%y because %D isn't supported at all by Microsoft's CRT and just converts to nothing with VC6's CRT and causes another invalid parameter error with VC8 and Vista p4raw-id: //depot/perl@31721
* Fix spelling nit.Steve Peters2007-04-111-1/+1
| | | p4raw-id: //depot/perl@30912
* Fix ext/POSIX/t/sysconf.t failures on Cygwin.Steve Peters2007-01-261-1/+8
| | | p4raw-id: //depot/perl@30014
* Add a regression test to verify that POSIX::AUTOLOAD works,Rafael Garcia-Suarez2006-12-191-1/+4
| | | | | and silence a potential warning from it. p4raw-id: //depot/perl@29592
* VC8 regards 60 seconds as an invalid parameter for strftime()Steve Hay2006-11-221-1/+6
| | | | | so skip the test in that case. p4raw-id: //depot/perl@29352
* Re: Off by one in the trie code?Yves Orton2006-10-191-1/+1
| | | | | | | | Message-ID: <9b18b3110610181151i3ca438cdied769ebaa4255079@mail.gmail.com> change test files that do a require "./test.pl"; without a BEGIN block to ensure prototypes are seen, plus fix any breakage this reveals. p4raw-id: //depot/perl@29056
* return value of -1 without errno set is ok in Craig A. Berry2006-09-161-38/+33
| | | | | | ext/POSIX/t/sysconf.t (it just means the feature is not implemented, not defined, or has no limit) p4raw-id: //depot/perl@28851
* Make sysconf tests handle unimplemented success indicationsCraig A. Berry2006-07-141-3/+4
| | | | | for the benefit of Mac OS X and VMS. p4raw-id: //depot/perl@28574
* Skip tests for pathconf() and fpathconf() on HP-UX for Steve Peters2006-07-141-8/+16
| | | | | | _PC_CHOWN_RESTRICTED. The HP-UX manpage suggests not trying to do it, and that the errno will not be set on failure. p4raw-id: //depot/perl@28572
* sysconf.t: still failing in tru64, try harder to skipJarkko Hietaniemi2006-07-111-10/+32
| | | | | Message-Id: <200607110623.k6B6N8Ni488812@kosh.hut.fi> p4raw-id: //depot/perl@28540
* Skip tests of a POSIX constant on Mac OS X because saved IDs are borkedDominic Dunlop2006-07-101-4/+8
| | | | | Message-Id: <F1942C06-CDE3-47C6-AC5A-4358960E0F6E@mac.com> p4raw-id: //depot/perl@28520
* Skip some POSIX tests when the thing they are testing is unimplementedYves Orton2006-07-082-9/+22
| | | | | Message-ID: <9b18b3110607080855g73407c4fx41a578815c2a6da2@mail.gmail.com> p4raw-id: //depot/perl@28508
* POSIX test improvements on True64Jarkko Hietaniemi2006-07-082-14/+91
| | | | | | Subject: [PATCH] the new POSIX tests Message-ID: <44AF7019.3070509@iki.fi> p4raw-id: //depot/perl@28505
* Test scripts for I18N::Langinfo and POSIXSébastien Aperghis-Tramoni2006-07-072-0/+111
| | | | | | | | | | Message-ID: <1152262951.44ae23272ffa0@imp3-g19.free.fr> Only includes changes to: * ext/I18N/Langinfo/t/Langinfo.t * ext/POSIX/t/sysconf.t * ext/POSIX/t/termios.t p4raw-id: //depot/perl@28503
* Need to update test count from change #27440.Steve Peters2006-03-091-1/+1
| | | | | p4raw-link: @27440 on //depot/perl: 516d25e8e8c09c6c60bf2f46703fc4d5add0f5fb p4raw-id: //depot/perl@27441
* croak in POSIX::sigaction() when passed a negative signal insteadSteve Peters2006-03-091-0/+3
| | | | | dumping core. p4raw-id: //depot/perl@27440
* Add tests for untested math functions in POSIXSteve Peters2005-12-211-0/+25
| | | p4raw-id: //depot/perl@26435
* Fix typos in regular expressionsRafael Garcia-Suarez2005-12-201-2/+2
| | | p4raw-id: //depot/perl@26424
* Fix for ext/POSIX/t/time.t so the strftime() test works on systemsSteve Peters2005-12-171-6/+2
| | | | | | that aren't quite up to SUS3. Based on a patch by David Dyck in RT #37960: POSIX/t/time fails bleadperl p4raw-id: //depot/perl@26384
* Fix ext/POSIX/t/time.t on Win32Steve Hay2005-11-281-1/+1
| | | | | | | According to MSDN, "The string result produced by ctime contains exactly 26 characters and has the form: Wed Jan 02 02:03:55 1980\n\0" so we *do* want the leading zero on the day returned by strftime p4raw-id: //depot/perl@26222
* Mac OS X/Darwin seems to have problems with tzname().Steve Peters2005-11-281-1/+4
| | | p4raw-id: //depot/perl@26221
* Deal with differences in what clock() does between POSIX and BSD.Steve Peters2005-11-261-3/+5
| | | p4raw-id: //depot/perl@26213
* Just be explicit about $TZ.Steve Peters2005-11-261-10/+9
| | | p4raw-id: //depot/perl@26208
* Hmmm...strftime() does work on Win32, but tzset() is having problemsSteve Peters2005-11-261-6/+9
| | | | | on OpenBSD. p4raw-id: //depot/perl@26207
* Additional tests for B and POSIX. The POSIX ones concern me a bit,Steve Peters2005-11-261-0/+56
| | | | | | but I don't expect any black smokes because of testing on OpenBSD, Linux, Win32, an Cygwin. p4raw-id: //depot/perl@26206
* Test for the right signal should use the constant for that signal.Steve Peters2005-11-031-1/+1
| | | p4raw-id: //depot/perl@25975
* SIGRTMIN & SIGRTMAX on Cygwin both 32. sig_count = 33, butH.Merijn Brand2005-07-311-1/+1
| | | | | POSIX::SigRt is not available on use p4raw-id: //depot/perl@25248
* Some signals are more real than othersH.Merijn Brand2005-07-271-1/+4
| | | | | Also added comment about why the tests are there p4raw-id: //depot/perl@25230
* use POSIX might not throw an error. Check for useful values alsoH.Merijn Brand2005-07-251-3/+3
| | | p4raw-id: //depot/perl@25223
* Re: [PATCH] support POSIX SA_SIGINFOJarkko Hietaniemi2005-07-211-1/+1
| | | | | Message-ID: <42DFC042.1090201@gmail.com> p4raw-id: //depot/perl@25207
* support POSIX SA_SIGINFOJarkko Hietaniemi2005-07-201-1/+13
| | | | | Message-ID: <42DE3846.6050606@gmail.com> p4raw-id: //depot/perl@25200
* Exit test script (if we're going to) *before* declaring a planSteve Hay2005-07-201-2/+2
| | | p4raw-id: //depot/perl@25193
* XS constants fail when their value is called for, not at import.Nicholas Clark2005-07-191-1/+1
| | | | | This might be construed as a bug. Fixing is probably a greater evil. p4raw-id: //depot/perl@25188
* allow POSIX SIGRTMIN...SIGRTMAX signals (and plug a core dump)Jarkko Hietaniemi2005-07-191-42/+51
| | | | | Message-ID: <42DCC278.2010009@gmail.com> p4raw-id: //depot/perl@25185
* Re: [perl #24554] Segfault in POSIX moduleSADAHIRO Tomoyuki2003-11-302-1/+8
| | | | | | | | Message-Id: <20031129233010.8E2F.BQW10602@nifty.com> (plus a test for the stringification of references passed to POSIX::isXXX()) p4raw-id: //depot/perl@21823
* POSIX::isXXX(undef) segfaulted. (bug #24554.)Rafael Garcia-Suarez2003-11-291-1/+5
| | | p4raw-id: //depot/perl@21802
* Re: [perl #23202] [RESOLVED] coredump on ext/POSIX/t/posix with NetBSD-1.6Alain Barbet2003-08-051-4/+9
| | | | | Message-ID: <3F2F8536.1090702@jupiter.alianet> p4raw-id: //depot/perl@20495
* Re: [perl #23202] coredump on ext/POSIX/t/posix with NetBSD-1.6Alain Barbet2003-08-031-7/+14
| | | | | | | Message-ID: <3F2BC86D.2050400@jupiter.alianet> Plus, un-mark a test as TODO for darwin >= 6.6 (by M. Schwern) p4raw-id: //depot/perl@20461
* Safe signals via POSIX::sigactionChip Salzenberg2003-07-091-1/+27
| | | | | Message-ID: <20030709054910.GH2021@perlsupport.com> p4raw-id: //depot/perl@20081
* If the first argument of sigaction() was a string, not a numberJarkko Hietaniemi2003-06-181-1/+23
| | | | | | | | | | | | | | | (or a SIGXXX 'constant') one got first (if using -w) 'Argument "FOO" isn't numeric in subroutine entry ...' but after that one got (depending on the OS) either a coredump (because of trying to assign to *0 in mg_get) or a hang (because of the sigprocmask() blocking signals inside POSIX::sigaction, a nasty hang since one obviously cannot interrupt it...only SIGKILL works). In older Perls (tried with 5.6.1) one got 'No such signal: SIGZERO ...' because of the string becoming zero due to the XS typemap magic. Resolved by making the POSIX::sigaction to try harder to figure out a valid signal number (one still gets the warning, though), and returning undef if no sense can be made. p4raw-id: //depot/perl@19809
* Stay within known facts: what platforms the skippage helps,Jarkko Hietaniemi2003-03-161-1/+2
| | | | | and in which it is not needed. p4raw-id: //depot/perl@18999
* This seems to fix (well, dodge) the problems in FreeBSD forJarkko Hietaniemi2003-03-161-2/+3
| | | | | | | | | Enache Adrian; in _theory_ this patch could be good for NetBSD, too, but Alian gets a core dump already at subtest #9 (anyone with a real NetBSD, Alian's is a VMware one, which has in the past caused similar odd crashes). OpenBSD threaded build result still unknown. p4raw-id: //depot/perl@18998
* Integrate:Jarkko Hietaniemi2003-03-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 18946] Integrate from maint-5.8/macperl: [ 18937] Various MacOS portability fixes for tests [ 18938] File::Spec::Unix method should be called on $self [ 18939] lib.pm:_get_dirs() should use $_[0], not $_ [ 18940] Update MacOS for new configpm [ 18941] Update MacOS build Update Makefile for new source files, update test script, add additional symbol for APItest p4raw-link: @18946 on //depot/maint-5.8/perl: 494df11159c23652339c95affadb99da70ef89e6 p4raw-link: @18941 on //depot/maint-5.8/macperl: 9b3df31c299856a4cb17c1b4a9c403df0a69ec28 p4raw-link: @18940 on //depot/maint-5.8/macperl: 5d97ba7550864e5eaacd84839be0d01c212a6d00 p4raw-link: @18939 on //depot/maint-5.8/macperl: be568d45c1392c31a2787cdaf2ab37fb4a91ced1 p4raw-link: @18938 on //depot/maint-5.8/macperl: efc910e725c427d20af16b2fdf1d43228fecfc02 p4raw-link: @18937 on //depot/maint-5.8/macperl: bbcece98349dade0635a793d66ae4e883c9097d6 p4raw-id: //depot/perl@18951 p4raw-integrated: from //depot/maint-5.8/perl@18950 'copy in' ext/POSIX/t/taint.t t/op/stat.t (@17645..) lib/Unicode/Collate/t/index.t lib/Unicode/Collate/t/test.t lib/lib_pm.PL t/op/mkdir.t (@18080..) ext/Filter/t/call.t lib/charnames.t t/op/taint.t t/run/switchI.t (@18458..) lib/File/Spec/Unix.pm (@18466..) t/io/crlf.t (@18638..) ext/Digest/MD5/t/files.t (@18743..) t/op/method.t (@18850..) t/pod/testp2pt.pl (@18890..) t/op/sprintf.t (@18911..) t/op/recurse.t (@18922..) p4raw-branched: from //depot/maint-5.8/perl@18946 'branch in' macos/MacPerlTests.cmd macos/Makefile.mk macos/configpm macos/macperl.sym
* cleaning up tests of the 'eval { decl. } <=> runtime decl.' assumptionAdrian M. Enache2003-03-062-3/+3
| | | | | Message-ID: <20030305100620.GA909@ratsnest.hole> p4raw-id: //depot/perl@18840
* Integrate from maint-5.8 : changes 18290-1, 18293-5, 18297Rafael Garcia-Suarez2002-12-122-24/+5
| | | | | | | | p4raw-id: //depot/perl@18299 p4raw-integrated: from //depot/maint-5.8/perl@18298 'copy in' pod/perlretut.pod (@17645..) pod/perlre.pod (@18080..) ext/POSIX/t/is.t (@18189..) t/op/subst.t (@18214..) ext/POSIX/t/posix.t (@18271..) t/op/pat.t (@18276..) ext/POSIX/POSIX.pod (@18294..) 'merge in' regexec.c (@18095..)
* Re: [perl #18238] timezone and gmt offset as output by POSIX::strftime() ↵Slaven Rezic2002-12-091-1/+21
| | | | | | | are sometimes wrong Message-ID: <874raqz8o3.fsf@vran.herceg.de> p4raw-id: //depot/perl@18267