Test case should not execute /no_such_process if it does exist.
Steve Peters [Wed, 2 Nov 2005 22:37:48 +0000 (22:37 +0000)]
p4raw-id: //depot/perl@25965

t/io/pipe.t

index c32f3b1..fd35512 100755 (executable)
@@ -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;