From e202ad5c8b568811f988579b5d478de0e0765347 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 23 May 2002 10:46:06 +0000 Subject: [PATCH] Add simple test case for proc_open --- .../tests/general_functions/proc_open.phpt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ext/standard/tests/general_functions/proc_open.phpt diff --git a/ext/standard/tests/general_functions/proc_open.phpt b/ext/standard/tests/general_functions/proc_open.phpt new file mode 100644 index 0000000000..af275fe6bb --- /dev/null +++ b/ext/standard/tests/general_functions/proc_open.phpt @@ -0,0 +1,29 @@ +--TEST-- +proc_open +--SKIPIF-- + +--POST-- +--GET-- +--FILE-- + 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! -- 2.40.0