summaryrefslogtreecommitdiff
path: root/t/op/mkdir.t
Commit message (Collapse)AuthorAgeFilesLines
* Fix new warning in t/op/mkdir.t.Craig A. Berry2015-07-231-1/+1
| | | | | | | Removing a directory that doesn't exist causes a warning, and if the warning appears before the test preamble, that causes the test to fail. So check whether the directory exists before trying to remove it.
* Get mkdir.t working under miniperl *again*Father Chrysostomos2014-09-081-1/+1
| | | | | | | | | | | | In commit ca7cc9e26e, I got mkdir.t to pass under miniperl when Errno.pm has not been generated yet. The way I did it, though, causes the test to fail under miniperl if Errno.pm *has* been generated. The ‘require’ call that tests to see whether Errno can load ends up resetting $! before we test the value in %!. Also, we don’t need require inside a string eval.
* Get mkdir.t working under minitestFather Chrysostomos2014-09-021-2/+14
| | | | | | If things are broken enough that make_ext.pl cannot run, then mini- test may run this script before Errno.pm is generated and copied into lib/.
* suppress "experimental" warnings for my $_Ricardo Signes2013-02-201-1/+1
|
* Deprecate lexical $_Father Chrysostomos2012-12-041-0/+1
| | | | | | | See tickets #114020 and #75598 for why. The changes to tests in cpan/Text-Tabs have been submitted upstream at rt.cpan.org #81698.
* Ensure t/op/mkdir.t passes under minitest by loading File::Path in an eval.Nicholas Clark2011-03-061-2/+9
| | | | | | File::Path::rmtree() is only used as a cleanup function of last resort - by default t/op/mkdir.t directly cleans up the test directory that it creates before it exits.
* [perl #72588] t/op/mkdir.t fails, setting LC_ALL=C does not workSlaven Rezic2010-08-141-2/+2
|
* Remove code specific to MacOS Classic from core testsRafael Garcia-Suarez2009-09-081-9/+5
|
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* $! might contain "unknown" if strerror(3) says soRafael Garcia-Suarez2005-05-161-2/+2
| | | p4raw-id: //depot/perl@24475
* mkdir without arguments now defaults to $_Rafael Garcia-Suarez2005-05-031-2/+20
| | | p4raw-id: //depot/perl@24378
* Convert to test.plRafael Garcia-Suarez2005-05-031-20/+21
| | | p4raw-id: //depot/perl@24376
* Integrate:Jarkko Hietaniemi2003-03-121-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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
* Re: [perl #17892] Perl's mkdir() doesn't remove trailing slashesSlaven Rezic2002-10-201-1/+6
| | | | | Message-ID: <8765w5wjwx.fsf@vran.herceg.de> p4raw-id: //depot/perl@18036
* Yet another error message.Jarkko Hietaniemi2001-06-221-1/+1
| | | p4raw-id: //depot/perl@10847
* Use minimal @INC in tests, most of the time just '../lib',Mike Guy2000-08-291-1/+1
| | | | | | | | so that we simply can't pick up stuff from other Perls than the one we are testing. Pointed out by Subject: Re: [PATCH: 6757] make new Storable tests forgiving of places where not built Message-Id: <E13SKH1-00031D-00@virgo.cus.cam.ac.uk> p4raw-id: //depot/perl@6874
* default mkdir() mode argument to 0777Gurusamy Sarathy2000-02-201-10/+9
| | | p4raw-id: //depot/perl@5164
* some fixes for mingw32/GCC (SETERRNO() still appears toGurusamy Sarathy2000-02-191-2/+2
| | | | | trash memory) p4raw-id: //depot/perl@5129
* applied new parts of suggested patchCharles Bailey1999-07-071-1/+8
| | | | | | Message-id: <01JD3M8W1VXS000S5G@mail.newman.upenn.edu> Subject: [PATCH 5.005_57] Consolidated VMS patch p4raw-id: //depot/perl@3650
* GNU libc locale system has LANGUAGE env var that partlyJarkko Hietaniemi1999-01-181-0/+1
| | | | | overrides even LC_ALL. p4raw-id: //depot/cfgperl@2642
* Atari MiNT port by Guido Flohr <gufl0000@stud.uni-sb.de>Jarkko Hietaniemi1999-01-131-1/+1
| | | | | | (the diffs were based on 5.004_02). Tested by Guido and Frank Naumann <fnaumann@prinz-atm.CS.Uni-Magdeburg.De>. p4raw-id: //depot/cfgperl@2594
* [differences between cumulative patch application and perl5.004_01]perl-5.004_01Tim Bunce1997-06-111-1/+4
|\ | | | | | | | | | | | | | | | | [editor's note: The changes between this and 5.004 were processed from the m1t2 release, which was a bad idea as it was the _01 release which had the final corrected attributions. The differences between the various m*t* releases do that; I considered it most valuable just to look at the _NN releases. Many patches have been separated out and/or applied from the p5p archives nonetheless.]
| * Tests depend on localeJan D1997-06-111-0/+3
|/ | | | | | | | | This is (sort of) documented in INSTALL. But you are right, the tests should force the LC_ALL to be 'C'. Note: LANG is not enough, and neither is POSIX as readily available as C. Here are the patches: p5p-msgid: 199705191230.PAA21070@alpha.hut.fi Signed-off-by: Jarkko Hietaniemi <jhi@iki.fi>
* [inseparable changes from match from perl-5.003_97 to perl-5.003_97a]Perl 5 Porters1997-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CORE PORTABILITY Subject: Add support for Cygwin32 (GNU-Win32) -- very low impact Date: Thu, 3 Apr 1997 09:21:17 +0100 From: John Cerney <j-cerney1@ti.com> Files: MANIFEST README.cygwin32 cygwin32/cw32imp.h cygwin32/gcc2 cygwin32/ld2 cygwin32/perlgcc cygwin32/perlld ext/DynaLoader/dl_cygwin32.xs hints/cygwin32.sh perl.h pp_sys.c Msg-ID: 199704030821.JAA08762@pluto.tiuk.ti.com (applied based on p5p patch as commit 2a079e0090406b1b2e50643540f149206c9e9de8) Subject: Win32 update (six patches) From: Gurusamy Sarathy <gsar@engin.umich.edu> Files: MANIFEST README.win32 dosish.h t/io/fs.t t/io/tell.t t/lib/io_tell.t t/op/magic.t t/op/mkdir.t t/op/runlevel.t t/op/stat.t t/op/taint.t win32/Makefile win32/VC-2.0/pod.mak win32/makedef.pl win32/pod.mak win32/win32.c win32/win32.h win32/win32io.c win32/win32io.h win32/win32iop.h LIBRARY AND EXTENSIONS Subject: Math::Trig, based on (and from an author of) Math::Complex From: Chip Salzenberg <chip@perl.com> Files: MANIFEST lib/Math/Complex.pm lib/Math/Trig.pm pod/perldelta.pod t/lib/complex.t t/lib/trig.t OTHER CORE CHANGES Subject: Fix const-sub-related panic on C<sub foo { my $x; 0 } foo> From: Chip Salzenberg <chip@perl.com> Files: op.c Subject: Fix warning for useless C<1..2> From: Chip Salzenberg <chip@perl.com> Files: op.c Subject: Minor cleanups Date: Thu, 03 Apr 1997 19:56:57 -0500 From: Gurusamy Sarathy <gsar@engin.umich.edu> Files: mg.c mg.h perl.c Msg-ID: 199704040056.TAA22253@aatma.engin.umich.edu (applied based on p5p patch as commit 609794497049cf42bdd2396c04cbb7728e10374d) Subject: Eliminate unreliable warning with %SIG and strict refs From: Chip Salzenberg <chip@perl.com> Files: mg.c Subject: Fix impossible test in vivification From: Chip Salzenberg <chip@perl.com> Files: mg.c
* [inseparable changes from match from perl-5.003_94 to perl-5.003_95]Perl 5 Porters1997-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CORE LANGUAGE CHANGES Subject: Don't compile scalar mods of aggregates, like C<@a =~ s/a/b/> From: Chip Salzenberg <chip@perl.com> Files: op.c t/op/misc.t Subject: Warn about undef magic values just like non-magic From: Chip Salzenberg <chip@perl.com> Files: ext/Opcode/Safe.pm sv.c t/lib/db-btree.t t/lib/db-hash.t t/lib/db-recno.t t/pragma/locale.t CORE PORTABILITY Subject: Win32 update (five patches) From: Gurusamy Sarathy <gsar@engin.umich.edu> Files: MANIFEST README.win32 doio.c dosish.h pp_sys.c lib/ExtUtils/Command.pm t/comp/multiline.t t/op/magic.t t/op/mkdir.t t/op/runlevel.t t/op/stat.t t/op/write.t win32/Makefile win32/config.H win32/config.w32 win32/win32.c win32/win32.h win32/win32aux.c win32/*.mak win32/VC-2.0/*.mak DOCUMENTATION Subject: INSTALL-1.8 to INSTALL-1.9 updates Date: Tue, 25 Mar 1997 13:52:53 -0500 (EST) From: Andy Dougherty <doughera@fractal.phys.lafayette.edu> Files: INSTALL Msg-ID: Pine.SOL.3.95q.970325135138.3374A-100000@fractal.lafayette.e (applied based on p5p patch as commit 9b1ae96a0b4301a9588f62b3175bc0312302f4b9) Subject: Document possible problems with -Mdiagnostics after upgrade From: Chip Salzenberg <chip@perl.com> Files: INSTALL Subject: Mention perldelta in INSTALL From: Chip Salzenberg <chip@perl.com> Files: INSTALL Subject: Describe pod format at top of INSTALL From: Chip Salzenberg <chip@perl.com> Files: INSTALL Subject: Document C</a *b/x> fix From: Chip Salzenberg <chip@perl.com> Files: pod/perldelta.pod Subject: pods for subroutine argument autovivication Date: Mon, 24 Mar 1997 07:25:21 +0000 From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk> Files: pod/perldelta.pod pod/perlsub.pod Msg-ID: E0w9489-0005YT-00@ursa.cus.cam.ac.uk (applied based on p5p patch as commit db8878faa51a8a1541a40745a8613adb5db155e4) Subject: Missing item in perldiag Date: Sun, 23 Mar 1997 09:24:09 +0000 From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk> Files: pod/perldiag.pod Msg-ID: E0w8jVZ-0005va-00@ursa.cus.cam.ac.uk (applied based on p5p patch as commit c00a529017138505fcbe538b74c7884abe1d18e1) Subject: Pod problems & fixes Date: Mon, 24 Mar 1997 21:31:51 +0100 (MET) From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no> Files: INSTALL lib/Term/Complete.pm lib/subs.pm pod/perlcall.pod pod/perldata.pod pod/perldiag.pod pod/perlembed.pod pod/perlguts.pod pod/perlmod.pod pod/perlop.pod pod/perlpod.pod pod/pod2html.PL Msg-ID: 199703242031.VAA14997@bombur2.uio.no (applied based on p5p patch as commit 55a864fe4cea1a0586891b83d359ba71e0972da5) Subject: FAQ update From: Nathan Torkington <gnat@prometheus.frii.com> Files: pod/perlfaq*.pod OTHER CORE CHANGES Subject: Improve 'prototype mismatch' warning From: Chip Salzenberg <chip@perl.com> Files: global.sym op.c pod/perldiag.pod proto.h sv.c t/comp/redef.t
* perl 5.0 alpha 2perl-5a2Larry Wall1993-10-071-1/+1
| | | | [editor's note: from history.perl.org. The sparc executables originally included in the distribution are not in this commit.]
* perl 4.0.00: (no release announcement available)perl-4.0.00Larry Wall1991-03-211-0/+15
So far, 4.0 is still a beta test version. For the last production version, look in pub/perl.3.0/kits@44.