summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-11-02 22:37:48 +0000
committerSteve Peters <steve@fisharerojo.org>2005-11-02 22:37:48 +0000
commit38efdb82c659a45925093d890b9a6cb896cb9c47 (patch)
treebf1cd364d30fbf0c09e3d9363628d59167dd4bea
parent605b9385ca432fdf5dd870e452cfa8fc5038eab7 (diff)
downloadperl-38efdb82c659a45925093d890b9a6cb896cb9c47.tar.gz
Test case should not execute /no_such_process if it does exist.
p4raw-id: //depot/perl@25965
-rwxr-xr-xt/io/pipe.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/io/pipe.t b/t/io/pipe.t
index c32f3b1046..fd355124fe 100755
--- a/t/io/pipe.t
+++ b/t/io/pipe.t
@@ -182,7 +182,8 @@ is($?, 42, 'status unaffected by implicit close');
$? = 0;
# check that child is reaped if the piped program can't be executed
-{
+SKIP: {
+ skip "/no_such_process exists", 1 if -e "/no_such_process";
open NIL, '/no_such_process |';
close NIL;