cvs: php4 /ext/standard/tests/general_functions proc_open.phpt

From: Date: Thu, 23 May 2002 10:46:07 +0000
Subject: cvs: php4 /ext/standard/tests/general_functions proc_open.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12060@lists.php.net to get a copy of this message
wez Thu May 23 06:46:07 2002 EDT Added files: /php4/ext/standard/tests/general_functions proc_open.phpt Log: Add simple test case for proc_open Index: php4/ext/standard/tests/general_functions/proc_open.phpt +++ php4/ext/standard/tests/general_functions/proc_open.phpt --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 ); proc_close($cat); echo "I didn't segfault!\n"; ?> --EXPECT-- I didn't segfault!

« previous php.cvs (#12060) next »