diff options
Diffstat (limited to 'ext/standard/tests/general_functions/proc_open.phpt')
-rw-r--r-- | ext/standard/tests/general_functions/proc_open.phpt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ext/standard/tests/general_functions/proc_open.phpt b/ext/standard/tests/general_functions/proc_open.phpt deleted file mode 100644 index a094b5c600..0000000000 --- a/ext/standard/tests/general_functions/proc_open.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -proc_open ---SKIPIF-- -<?php # vim:syn=php -if (!is_executable("/bin/cat")) echo "skip"; -?> ---POST-- ---GET-- ---FILE-- -<?php -$ds = array( - 0 => array("pipe", "r"), - 1 => array("pipe", "w"), - 2 => array("pipe", "w") - ); - -$cat = proc_open( - "/bin/cat", - $ds, - $pipes - ); - -/* As per manual: avoid deadlock */ -for ($i = 0; $i < count($pipes); $i++) -{ - fclose($pipes[$i]); -} - -proc_close($cat); - -echo "I didn't segfault!\n"; - -?> ---EXPECT-- -I didn't segfault! |