summaryrefslogtreecommitdiff
path: root/t/io/open.t
Commit message (Collapse)AuthorAgeFilesLines
* Remove code specific to MacOS Classic from core testsRafael Garcia-Suarez2009-09-081-7/+2
|
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Convert all unimaginative (ie race condition) temporary file names toNicholas Clark2008-08-071-35/+36
| | | | | use test.pl's tempfile(). p4raw-id: //depot/perl@34182
* [patch@34016] VMS passes these t/io/open.t tests now.John E. Malmberg2008-06-111-9/+2
| | | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <484F51EA.6050005@qsl.net> Date: Tue, 10 Jun 2008 23:17:46 -0500 p4raw-id: //depot/perl@34042
* Re: Smoke [5.9.3] 25093 FAIL(F) openbsd 3.7 (macppc/1 cpu)Steve Peters2005-07-131-1/+1
| | | | | Message-ID: <20050708214256.GA14164@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@25139
* [perl #31767] open $1, "file" doesn't raise an exceptionDave Mitchell2004-09-301-1/+7
| | | p4raw-id: //depot/perl@23342
* add test for change #22746 ([perl #29102] Crash on assign to lex fh)Dave Mitchell2004-05-031-1/+5
| | | | | p4raw-link: @22746 on //depot/perl: 8f3c2c0cb1ce993e7d37b84cf6256c76fd3a298a p4raw-id: //depot/perl@22778
* add test for change #22776 ("open m" crashes Perl)Dave Mitchell2004-05-031-1/+6
| | | | | p4raw-link: @22776 on //depot/perl: e2ab214b14c9284fa9074628aa22936a93dab84f p4raw-id: //depot/perl@22777
* Work on eliminating systematic failures on make minitest:Nicholas Clark2004-03-021-2/+6
| | | | | | | | make minitest passes a -minitest flag to t/TEST t/TEST sees this and sets $ENV{PERL_CORE_MINITEST} Tests can choose to skip based on this. (Other tactic is to make loading of Errno by %! happen at run time.) p4raw-id: //depot/perl@22423
* The "perlio: " prefix looks a little oddJarkko Hietaniemi2003-09-131-6/+6
| | | | | | in the few warning/error messages, since no other 'subsystems' have prefixes. p4raw-id: //depot/perl@21208
* Layer names were recognized by their prefixesJarkko Hietaniemi2003-09-131-4/+14
| | | | | (e.g. open(F, ":u", "file") worked...) p4raw-id: //depot/perl@21207
* Apparently at some point doing 3-arg open withJarkko Hietaniemi2003-09-131-1/+14
| | | | | illegal mode like ">>>" had stopped croaking. p4raw-id: //depot/perl@21206
* Introduce PerlIO::get_layers() to allow people to peekJarkko Hietaniemi2003-04-141-1/+0
| | | | | at the PerlIO layer stack. p4raw-id: //depot/perl@19203
* open(my $fh, ">&", STDOUT) should not warn under strict.Jarkko Hietaniemi2003-04-091-1/+6
| | | p4raw-id: //depot/perl@19173
* Try to be more descriptive than just __ANONIO__ which is whatJarkko Hietaniemi2003-04-091-1/+32
| | | | | you get when you autovivify filehandles into array/hash elements. p4raw-id: //depot/perl@19172
* Re: [perl #17830] open FH, "<&", $fdSteve Grazzini2002-10-171-7/+10
| | | | | Message-ID: <20021011222858.452.qmail@onion.perl.org> p4raw-id: //depot/perl@18023
* Integrate #16254 from macperl;Jarkko Hietaniemi2002-04-281-4/+9
| | | | | Fix most tests on MacOS (not yet ext/ or /lib) p4raw-id: //depot/perl@16257
* Disable warning noiseRafael Garcia-Suarez2002-04-191-0/+1
| | | p4raw-id: //depot/perl@16009
* More tests for the 3-arg openRafael Garcia-Suarez2002-04-191-1/+13
| | | p4raw-id: //depot/perl@16008
* Take away the perlio-requiring tests..Jarkko Hietaniemi2002-03-251-57/+1
| | | p4raw-id: //depot/perl@15498
* More correct now, but actually the two new testsJarkko Hietaniemi2002-03-251-3/+1
| | | | | need to be moved, since they are perlio-only... p4raw-id: //depot/perl@15497
* More neo-io tests from Stas Bekman.Jarkko Hietaniemi2002-03-251-1/+53
| | | p4raw-id: //depot/perl@15496
* Remove dubious test.Abhijit Menon-Sen2002-02-161-38/+0
| | | p4raw-id: //depot/perl@14717
* Absorb #14701 by Sarathy from maint-5.6.Abhijit Menon-Sen2002-02-161-1/+38
| | | p4raw-id: //depot/perl@14714
* which_perl for safer $^XingMichael G. Schwern2001-12-071-6/+8
| | | | | | | Message-ID: <20011207034544.GN22648@blackrider> (plus op/ref tweak) p4raw-id: //depot/perl@13506
* [PATCH t/base/lex.t, term.t] Purging echo from base testsMichael G. Schwern2001-12-071-222/+146
| | | | | | | | | | | | | | | | | | | | | | | Date: Thu, 6 Dec 2001 15:15:28 -0500 Message-ID: <20011206201528.GF16414@blackrider> (just the term.t, not the lex.t) Subject: [PATCH t/comp/script.t] Elimininating needless logic, runs from t/ now From: Michael G Schwern <schwern@pobox.com> Date: Thu, 6 Dec 2001 15:22:22 -0500 Message-ID: <20011206202222.GG16414@blackrider> Subject: [PATCH t/run/kill_perl.t] Eliminationg needless $^X logic From: Michael G Schwern <schwern@pobox.com> Date: Thu, 6 Dec 2001 15:31:58 -0500 Message-ID: <20011206203158.GI16414@blackrider> Subject: [PATCH t/io/open.t t/test.pl] Cleanup and echo purge From: Michael G Schwern <schwern@pobox.com> Date: Thu, 6 Dec 2001 17:38:55 -0500 Message-ID: <20011206223855.GC22648@blackrider> p4raw-id: //depot/perl@13503
* Implement:Nick Ing-Simmons2001-03-241-1/+16
| | | | | | 1. open($fh,"+<",undef); # add test to t/io/open.t 2. open($fh,"+<",\$var); # New test t/lib/io_scalar.t p4raw-id: //depot/perlio@9318
* Don't include $@ in not ok message.Nick Ing-Simmons2001-03-221-2/+2
| | | p4raw-id: //depot/perlio@9300
* Give a meaning to '&' in n-arg open case:Nick Ing-Simmons2001-03-221-16/+16
| | | | | | | | | | | | | open($fh,"<&",$scalar); $scalar can be: - an integer which does "fdopen" open($fh,"<&",2); # like open($fh,"<&2") - something that will yield a file handle via sv_2io() useful for dup'ing anonymous handles. e.g.: open(my $fh,"<&",\*STDIN); open(my $dup,"<&",$fh); p4raw-id: //depot/perlio@9298
* [ID 20001025.011] [PATCH] t/io/open.t perl@7369[ 7350] breaks VMS perlPeter J. Farley III2000-10-261-0/+9
| | | | | Message-Id: <4.3.1.0.20001025230222.00accba0@pop5.banet.net> p4raw-id: //depot/perl@7450
* [ID 20001016.012] [PATCHes Included]OK: perl v5.7.0 on dos-djgpp djgppPeter J. Farley III2000-10-161-2/+2
| | | | | Message-Id: <4.3.1.0.20001016180235.00ac65a0@pop5.banet.net> p4raw-id: //depot/perl@7350
* 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
* lexical warnings update for docs and tests (from Paul Marquess)Gurusamy Sarathy2000-03-131-1/+6
| | | p4raw-id: //depot/perl@5712
* consolidated VMS patches (from Craig A. BerryGurusamy Sarathy2000-03-011-4/+4
| | | | | | <craig.berry@metamorgs.com>); Glob.pm patch modified to use $DEFAULT_FLAGS, and iff no flags were supplied p4raw-id: //depot/perl@5397
* tweak test in change#4757 for WindowsGurusamy Sarathy2000-01-061-3/+11
| | | | | p4raw-link: @4757 on //depot/perl: faecd977681fb50ecb4b9174f76ac49d0d9e21c7 p4raw-id: //depot/perl@4762
* severe bugs in change#3786 fixedGurusamy Sarathy2000-01-051-1/+10
| | | | | p4raw-link: @3786 on //depot/perl: 6170680bfd1817febf6b13f65734e3e2e6e3f9bf p4raw-id: //depot/perl@4757
* better implementation of change#3326; open(local $foo,...) nowGurusamy Sarathy1999-12-041-84/+230
| | | | | | | | | | allowed in addition to any uninitialized variable, for consistency with how autovivification works elsewhere; add code to use the variable name as the name of the handle for simple variables, so that diagnostics report the handle: "... at - line 1, <$foo> line 10." p4raw-link: @3326 on //depot/perl: 853846ea710f8feaed8c98b358bdc8967dd522d2 p4raw-id: //depot/perl@4639
* Small VMS nits from Craig A. Berry, <craig.berry@metamor.com>.Jarkko Hietaniemi1999-11-221-2/+2
| | | p4raw-id: //depot/cfgperl@4598
* tweak some op names in change#4177 (will any of this break code thatGurusamy Sarathy1999-09-181-2/+2
| | | | | | | gropes $@ ?) p4raw-link: @4177 on //depot/cfgperl: 42d382189339e56f3bd13a71933349bc8b7e8b42 p4raw-id: //depot/perl@4189
* fix typoGurusamy Sarathy1999-09-171-1/+1
| | | p4raw-id: //depot/perl@4187
* Integrate mainline 5.05_61Charles Bailey1999-09-061-2/+2
|\ | | | | p4raw-id: //depot/vmsperl@4084
| * Exact path to perl for open -|.Jarkko Hietaniemi1999-08-021-2/+2
| | | | | | p4raw-id: //depot/cfgperl@3890
* | Skip open() tests that rely on Unix fork semanticsCharles Bailey1999-08-231-2/+5
|/ | | p4raw-id: //depot/vmsperl@4024
* applied suggested patch; added missing prototype changes toIlya Zakharevich1999-07-271-1/+77
| | | | | | | | | opcode.pl along with documentation typos (feature still needs to be described in perlopentut.pod and summarized in perldelta.pod) Message-Id: <199906170439.AAA18154@monk.mps.ohio-state.edu> Subject: [PATCH 5.00557] 3-arg open p4raw-id: //depot/perl@3786
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-1/+2
| | | | | | | | | | needed to open myconfig.SH rather than myconfig; sundry adjustments to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it work under win32; getenv_sv() changed to getenv_len() since SVs aren't visible in the lower echelons; remove bogus exports from config.sym; PERL_OBJECT-ness for C++ exception support; null out IoDIRP in filter_del() or sv_free() will attempt to close it p4raw-id: //depot/perl@3387
* Tweaks to open(my $fh,...) stuffNick Ing-Simmons1999-05-081-1/+1
| | | p4raw-id: //depot/perl@3329
* Implement open( my $fh, ...) and similar.Nick Ing-Simmons1999-05-071-10/+22
| | | | | | | | | | | | Set flag in op.c for "constructor ops" In pp_rv2gv, if flag is set and arg is PADSV and uninit vivify as reference to a detached GV. (Name of GV is the pad name.) This scheme should "just work" for pipe/socket etc. too. #if 0 out the open(FH,undef) for now. Change t/io/open.t to test open(my $fh,...) p4raw-id: //depot/perl@3326
* open(FH,undef) # creates new_tmpfile opened read/writeNick Ing-Simmons1999-05-061-0/+22
Add t/io/open.t with test for above. p4raw-id: //depot/perl@3315