diff options
Diffstat (limited to 't/io')
-rwxr-xr-x | t/io/argv.t | 2 | ||||
-rwxr-xr-x | t/io/pipe.t | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/t/io/argv.t b/t/io/argv.t index 40ed23b373..02cdc27536 100755 --- a/t/io/argv.t +++ b/t/io/argv.t @@ -33,4 +33,4 @@ if ($y eq "1a line\n2a line\n3a line\n") else {print "not ok 5\n";} -`/bin/rm -f Io.argv.tmp` if -x '/bin/rm'; +unlink 'Io.argv.tmp'; diff --git a/t/io/pipe.t b/t/io/pipe.t index 95df4dccb6..d70b2ab258 100755 --- a/t/io/pipe.t +++ b/t/io/pipe.t @@ -2,6 +2,16 @@ # $RCSfile: pipe.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:31 $ +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; + require Config; import Config; + unless ($Config{'d_fork'}) { + print "1..0\n"; + exit 0; + } +} + $| = 1; print "1..8\n"; |