summaryrefslogtreecommitdiff
path: root/t/io/pipe.t
Commit message (Collapse)AuthorAgeFilesLines
* Removed vestigal support for Tenon Intersystems MachTen Unix layer for MacOS ↵Jesse Vincent2009-08-031-3/+2
| | | | | | Classic. Perl hasn't supported MachTen since 5.6.
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Text mode wrongly set on pipe file descriptorsIlya Zakharevich2006-12-131-2/+45
| | | | | Message-ID: <20061213072825.GA26300@powdermilk.math.berkeley.edu> p4raw-id: //depot/perl@29550
* More core test cleanups. Mainly fixes to remove code that caused Steve Peters2005-11-031-0/+1
| | | | | | warnings, but there were a few bug fixes that were hidden by no using warnings. p4raw-id: //depot/perl@25973
* Test case should not execute /no_such_process if it does exist.Steve Peters2005-11-021-1/+2
| | | p4raw-id: //depot/perl@25965
* [PATCH lib/vmsish.t] Small test name abuse.Jarkko Hietaniemi2001-12-081-134/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | From: Michael G Schwern <schwern@pobox.com> Date: Fri, 7 Dec 2001 20:03:45 -0500 Message-ID: <20011208010345.GD642@blackrider> Subject: [PATCH vms/test.com] Goodbye frightening echo kludge! From: Michael G Schwern <schwern@pobox.com> Date: Fri, 7 Dec 2001 20:13:54 -0500 Message-ID: <20011208011354.GE642@blackrider> Subject: [PATCH t/io/pipe.t t/test.pl] Cleanup & $NO_ENDING From: Michael G Schwern <schwern@pobox.com> Date: Fri, 7 Dec 2001 21:47:36 -0500 Message-ID: <20011208024736.GH642@blackrider> Subject: [PATCH t/op/exec.t] Piping and newline on pipe tests From: Michael G Schwern <schwern@pobox.com> Date: Fri, 7 Dec 2001 23:09:43 -0500 Message-ID: <20011208040943.GK642@blackrider> Subject: [PATCH] vms/test.com -- skip tty tests when not interactive Message-Id: <a05101004b83754903506@[172.16.52.1]> Date: Fri, 7 Dec 2001 23:28:15 -0600 From: "Craig A. Berry" <craigberry@mac.com> p4raw-id: //depot/perl@13535
* Re: [PATCH] Re: [ID 20010105.002] close() on process filehandle leaves ↵Radu Greab2001-01-081-1/+0
| | | | | | | | | defunct process Message-ID: <14935.50055.838449.408835@ix.netsoft.ro> No need for the potentially nonportable $SIG{CHLD}. p4raw-id: //depot/perl@8361
* Re: [ID 20010105.002] close() on process filehandle leaves defunct processRadu Greab2001-01-051-1/+19
| | | | | Message-ID: <14934.6849.742435.23178@ix.netsoft.ro> p4raw-id: //depot/perl@8340
* Fix 'mmap' lib/filehand.t (ungetc) test fail.Nick Ing-Simmons2000-12-011-4/+15
| | | | | | | | | | | Make 'unix' pass most tests - do unread by temporary push of layer ("pending") holding unread chars - fast_gets is now based on per-handle flag - relax one of io/pipe.t tests to allow print to fail and close to succeed so that it passes on unbuffered "unix" layer. Remaining fail is sporadic and a genuine race condition between parent/child in fork test. p4raw-id: //depot/perlio@7942
* 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
* more sleep needed from slow systems (from Peter Haworth)Gurusamy Sarathy2000-03-201-1/+1
| | | p4raw-id: //depot/perl@5841
* increase sleep to compensate for slow cpu (from Peter HaworthGurusamy Sarathy2000-02-291-1/+1
| | | | | <pmh@edison.ioppublishing.com>) p4raw-id: //depot/perl@5348
* MPE/ix patches from Mark Bixby.Jarkko Hietaniemi2000-02-241-15/+20
| | | p4raw-id: //depot/cfgperl@5239
* ensure implicitly closed handles don't set $? or $!Gurusamy Sarathy1999-07-261-3/+14
| | | p4raw-id: //depot/perl@3752
* Cosmetic OS/2-related patchesIlya Zakharevich1999-05-281-1/+1
| | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199905281613.MAA02048@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@3497
* more testsuite smarts (many of them courtesy Ilya)Gurusamy Sarathy1999-05-121-1/+1
| | | p4raw-id: //depot/perl@3399
* make testsuite somewhat location independentGurusamy Sarathy1999-02-121-1/+1
| | | p4raw-id: //depot/perl@2891
* sanity check piped opens (tweaked version of patch suggestedGurusamy Sarathy1999-01-171-1/+8
| | | | | by Mark-Jason Dominus) p4raw-id: //depot/perl@2629
* Indicate skipped subtests.Jarkko Hietaniemi1998-10-261-12/+11
| | | p4raw-id: //depot/cfgperl@2089
* Test suite portability:Jarkko Hietaniemi1998-10-231-1/+2
| | | | | | | - posix-bc does not write to broken pipes - filehand #11 only iff we have fork - warning.t can now match $expected using regular expressions p4raw-id: //depot/cfgperl@2037
* The VM/ESA port essentials, based onJarkko Hietaniemi1998-10-171-27/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | perl-mvs: From: Neale Ferguson <neale@VMA.TABNSW.COM.AU> Subject: Re: Can't find Data/Dumper.pm Date: Mon, 28 Sep 1998 07:40:49 +1300 Message-ID: <360E86B0.23847AF4@mailbox.tabnsw.com.au> private email: From: Neale Ferguson <neale@VMA.TABNSW.COM.AU> Subject: Re: Perl thread problems in VM/ESA Date: Thu, 15 Oct 1998 07:18:35 +1300 Message-ID: <3624EAFA.16163A2B@mailbox.tabnsw.com.au> and private email: From: Neale Ferguson <NEALE@PUCC.PRINCETON.EDU> Subject: perl archive Date: Sun, 11 Oct 1998 19:28:54 EDT Message-Id: <19981011233112Z67215-26626+1513@outbound.Princeton.EDU> which gave a pointer to http://pucc.princeton.edu/~neale/perl.tar (based on Perl 5.005_51) p4raw-id: //depot/cfgperl@2006
* t/io/pipe.t - completely broken?Ilya Zakharevich1998-07-141-1/+2
| | | | | Message-Id: <199807130412.AAA27128@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1467
* [win32] merge changes#1014,1038 from maintbranchGurusamy Sarathy1998-05-291-0/+1
| | | | | | p4raw-link: @1038 on //depot/maint-5.004/perl: c3cf4c2be38f0215f451c3dd6cb13089e5f2329f p4raw-link: @1014 on //depot/maint-5.004/perl: d14230f9721c31ac6e9e2fdb706c7fc95118b4e6 p4raw-id: //depot/win32/perl@1052
* [win32] merge changes#982,984 from maintbranchGurusamy Sarathy1998-05-151-2/+24
| | | | | | p4raw-link: @984 on //depot/maint-5.004/perl: aaffd3c27a04135bbc287616252cc5830b7c5543 p4raw-link: @982 on //depot/maint-5.004/perl: c5ed518aab0e5c6006080a87273e79a1b8e0d48b p4raw-id: //depot/win32/perl@997
* [win32] integrate mainlineGurusamy Sarathy1998-05-141-1/+2
| | | p4raw-id: //depot/win32/perl@973
* Two more delays added to test suite to help *-solaris-thread.Malcolm Beattie1997-11-141-1/+1
| | | p4raw-id: //depot/perl@252
* Disable op/pipe.t test under MachtenDominic Dunlop1997-05-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At 09:47 +0200 1997-05-01, I wrote: >Everything else is as expected, but I'm looking into this: > >dialup02 domo$ ./TEST io/pipe.t >io/pipe...........print failed: Broken pipe at ./io/pipe.t line 86. >FAILED on test 9 Here's a patch. It seems MachTen doesn't behave like native UNIX here, so punt. Given that VMS doesn't behave like native UNIX either (and there's been nothing on the list yet about NT and other "aliens"), test 9 looks like a good emulation exposer. Is this what we want? As far as I can make out from a little mucking about and a reading of ISO 9945-1:1990, MachTen is behaving in a way that POSIX allows: stdio elects not to buffer writes on pipes (a defensible decision); a write on a broken pipe fails with EPIPE and raises SIGPIPE (correct by POSIX); close of a broken pipe succeeds (correct by POSIX,and OK by perl: nothing's buffered, because the write failed) if the pipe reader exited with zero status. Slightly disconcertingly, I discover that, if I substitute the command 'false' for 'true' as the putative pipe reader, the (perl) close fails. close() is not documented as failing if a pipe reader has terminated with a non-zero exit code. Is this a documentation shortcoming, a general perl bug, or a MachTen perl bug? Whether close() suceeds or fails, $? is set appropriately. Whatever, so as to get 5.004 out of the door, either apply this patch or do away with test 9 entirely, pending deeper reflection. p5p-msgid: v03102801af8e160d3879@[194.51.248.68]
* Reset errno after failed piped closeChip Salzenberg1997-04-301-1/+44
| | | | (this is the same change as commit 00db273fa22ecba6466df777a772c6017c403a96, but as applied)
* [inseparable changes from patch from perl5.003_22 to perl5.003_23]perl-5.003_23Perl 5 Porters1997-01-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD PROCESS Subject: Make configure.gnu a copy of configure; make configure writea From: Chip Salzenberg <chip@atlantic.net> Files: MANIFEST configure.gnu Subject: Regen Configure with metaconfig: +ARCHNAME, -FILE_filbuf From: Chip Salzenberg <chip@perl.com> Files: Configure config_H config_h.SH hints/lynxos.sh os2/diff.configure os2/os2ish.h plan9/config.plan9 sv.c utils/perlbug.PL vms/config.vms vms/fndvers.com Subject: Compile with optimization when testing memory functions From: Chip Salzenberg <chip@atlantic.net> Files: Configure CORE LANGUAGE CHANGES Subject: Disallow changing $_[0] in __DIE__ handlers From: Chip Salzenberg <chip@atlantic.net> Files: pod/perlfunc.pod util.c Subject: Fix overloading with inheritance and AUTOLOAD Date: Mon, 20 Jan 1997 17:26:32 -0500 (EST) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: gv.c lib/diagnostics.pm lib/overload.pm pod/perldebug.pod pod/perldiag.pod pod/perlfunc.pod pod/perlop.pod pod/perlre.pod pod/perltoc.pod pod/perlxs.pod Msg-ID: <199701202226.RAA05072@monk.mps.ohio-state.edu> (applied based on p5p patch as commit e7ea3e70155d0bea30720ba41eb6bb6742aac0d1) Subject: Nested here-docs Date: Mon, 20 Jan 1997 15:13:42 -0800 From: Larry Wall <larry@wall.org> Files: toke.c Msg-ID: <199701202313.PAA11693@wall.org> (applied based on p5p patch as commit fd2d0953290ddd46f0820dbd6c87245486b7ab28) Subject: Revert $^X to old behavior (plus HP-UX bug fix) From: Chip Salzenberg <chip@atlantic.net> Files: hints/hpux.sh toke.c Subject: Protect against '0' in 'stmt while <HANDLE>' From: Chip Salzenberg <chip@atlantic.net> Files: op.c Subject: Don't warn when closure uses var at file scope From: Chip Salzenberg <chip@atlantic.net> Files: op.c CORE PORTABILITY Subject: VMS patches for _22 Date: Mon, 20 Jan 1997 22:50:21 -0500 (EST) From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU> Files: ext/POSIX/POSIX.xs lib/ExtUtils/MM_VMS.pm lib/ExtUtils/xsubpp lib/Test/Harness.pm toke.c vms/Makefile vms/descrip.mms vms/genconfig.pl vms/perly_c.vms vms/vmsish.h x2p/a2p.h vms/Makefile vms/config.vms vms/descrip.mms vms/perly_c.vms private-msgid: <01IEGBJ2TMYS003PCL@hmivax.humgen.upenn.edu> Subject: Plan9 update From: Luther Huffman <lutherh@stratcom.com> Files: plan9/config.plan9 plan9/mkfile Subject: hints & Configure changes to build perl on DC/OSx Date: Thu, 16 Jan 1997 16:43:52 -0800 From: Stephen Zander <stephen.zander@interlock.mckesson.com> Files: Configure MANIFEST hints/dcosx.sh Msg-ID: <199701170043.QAA25985@wsbip1.mckesson.com> (applied based on p5p patch as commit 23f8769697279d7912be5943de9fdf93f6aa3013) DOCUMENTATION Subject: Additional docs for __DIE__ and __WARN__ From: Gurusamy Sarathy <gsar@engin.umich.edu> Files: pod/perlfunc.pod pod/perlrun.pod pod/perlvar.pod Subject: Document #line directive Date: Fri, 24 Jan 1997 04:08:44 -0500 From: Gurusamy Sarathy <gsar@engin.umich.edu> Files: pod/perlsyn.pod pod/perltoc.pod private-msgid: <199701240908.EAA23846@aatma.engin.umich.edu> Subject: delta for perldelta Date: Fri, 24 Jan 1997 07:57:43 -0800 From: Tom Christiansen <tchrist@mox.perl.com> Files: pod/perlnews.pod pod/perltoc.pod private-msgid: <804.854121463@jinete> Subject: Updates to perldelta Date: Mon, 20 Jan 1997 06:48:49 -0500 (EST) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: pod/perlnews.pod pod/perltoc.pod private-msgid: <199701211610.LAA06227@monk.mps.ohio-state.edu> Subject: perlnews.pod diff for the Fcntl Date: Tue, 21 Jan 1997 18:00:56 +0200 (EET) From: Jarkko Hietaniemi <jhi@cc.hut.fi> Files: pod/perlnews.pod private-msgid: <199701211600.SAA30117@alpha.hut.fi> Subject: Rename perlnews -> perldelta per Tom's request From: Chip Salzenberg <chip@atlantic.net> Files: MANIFEST pod/Makefile pod/buildtoc pod/perl.pod pod/perldelta.pod pod/perltoc.pod pod/roffitall LIBRARY AND EXTENSIONS Subject: Refresh IO to 1.15 (plus DESTROY and new_tmpfile fixes) From: Chip Salzenberg <chip@atlantic.net> Files: ext/IO/lib/IO/File.pm ext/IO/lib/IO/Handle.pm ext/IO/lib/IO/Pipe.pm ext/IO/lib/IO/Seekable.pm ext/IO/lib/IO/Socket.pm t/lib/io_pipe.t Subject: Allow IO.xs to remain at 1.15 while $VERSION is 1.1501 From: Chip Salzenberg <chip@atlantic.net> Files: XSUB.h ext/IO/Makefile.PL ext/IO/lib/IO/Handle.pm Subject: Add E* and SA_* constants Date: Wed, 22 Jan 1997 21:36:07 -0500 From: Roderick Schertler <roderick@gate.net> Files: ext/POSIX/POSIX.pm ext/POSIX/POSIX.pod ext/POSIX/POSIX.xs private-msgid: <23338.853986967@eeyore.ibcinc.com> OTHER CORE CHANGES Subject: Make PERL5LIB and -I work like C<use lib> Date: Thu, 23 Jan 1997 15:23:27 +0000 From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: lib/lib.pm perl.c private-msgid: <9701231523.AA26613@toad.ig.co.uk> Subject: Fix /\G.a/ From: Chip Salzenberg <chip@atlantic.net> Files: regcomp.c regcomp.h regexec.c regexp.h toke.c Subject: Extend stack in pp_undef (!) From: Chip Salzenberg <chip@atlantic.net> Files: pp.c Subject: Allow for sub to be redefined while executing From: Chip Salzenberg <chip@atlantic.net> Files: cop.h pp_hot.c t/op/misc.t Subject: Eliminate redundant flag CVf_FORMAT From: Chip Salzenberg <chip@atlantic.net> Files: cv.h op.c perl.c perly.c perly.y proto.h sv.c toke.c Subject: Generate IVs when possible in abs() and int() From: Chip Salzenberg <chip@atlantic.net> Files: pp.c Subject: Efficiency patchlet for pp_aassign() Date: Mon, 20 Jan 1997 22:05:39 -0500 (EST) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: pp_hot.c Msg-ID: <199701210305.WAA05451@monk.mps.ohio-state.edu> (applied based on p5p patch as commit 7e42bd57a6867e174bc3bc555c3268b485940a98) Subject: Remove "suidperl security patch" message From: Chip Salzenberg <chip@atlantic.net> Files: perl.c TESTS Subject: Fix tests of $^X and $0 to work with QNX From: Chip Salzenberg <chip@atlantic.net> Files: t/lib/io_pipe.t t/lib/open2.t t/lib/open3.t t/op/magic.t Subject: Patch tests for systems without fork() Date: Thu, 23 Jan 1997 23:51:28 +0100 From: "Norbert Pueschel" <pueschel@imsdd.meb.uni-bonn.de> Files: t/io/pipe.t t/lib/filehand.t t/lib/io_pipe.t t/lib/io_sock.t t/lib/open2.t t/lib/open3.t t/op/fork.t private-msgid: <77724697@Armageddon.meb.uni-bonn.de> Subject: Test patches for OS/2 Date: Thu, 16 Jan 1997 23:48:18 -0500 (EST) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: os2/OS2/ExtAttr/t/os2_ea.t os2/OS2/PrfDB/t/os2_prfdb.t os2/OS2/REXX/t/rx_cmprt.t os2/OS2/REXX/t/rx_dllld.t os2/OS2/REXX/t/rx_objcall.t os2/OS2/REXX/t/rx_sql.test os2/OS2/REXX/t/rx_tiesql.test os2/OS2/REXX/t/rx_tievar.t os2/OS2/REXX/t/rx_tieydb.t os2/OS2/REXX/t/rx_varset.t os2/OS2/REXX/t/rx_vrexx.t t/README t/cmd/while.t t/comp/colon.t t/comp/multiline.t t/io/argv.t t/lib/anydbm.t t/lib/gdbm.t t/lib/ndbm.t t/lib/odbm.t t/lib/sdbm.t t/op/cmp.t t/op/magic.t Msg-ID: <199701170448.XAA28948@monk.mps.ohio-state.edu> (applied based on p5p patch as commit bbad36071d5a6d4be3588f0f10c88247439076d8) UTILITIES Subject: Translate \200 to &#200; in pod2html From: Chip Salzenberg <chip@atlantic.net> Files: pod/pod2html.PL Subject: VMS patches: '.com' extension on scripts Date: Fri, 24 Jan 1997 18:42:29 -0500 (EST) From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU> Files: pod/checkpods.PL pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL utils/c2ph.PL utils/h2ph.PL utils/h2xs.PL utils/perlbug.PL utils/perldoc.PL utils/pl2pm.PL utils/splain.PL vms/Makefile vms/descrip.mms x2p/find2perl.PL x2p/s2p.PL private-msgid: <01IELNPDLYJM003E7J@hmivax.humgen.upenn.edu>
* perl5.002beta3Perl 5 Porters1996-02-021-3/+3
| | | | | | | | | | | | | | | | | [editor's note: no patch file was found for this release, so no fine-grained changes] I can't find the password for our ftp server, so I had to drop it into ftp://ftp.sems.com/pub/incoming/perl5.002b3.tar.gz, which is a drop directory you can't ls. The current plan is that Andy is gonna whack on this a little more, and then release a gamma in a few days when he's happy with it. So don't get carried away. This is now *late* beta. In other words, have less than the appropriate amount of fun. :-) Larry
* 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/+56
So far, 4.0 is still a beta test version. For the last production version, look in pub/perl.3.0/kits@44.