]> granicus.if.org Git - php/commitdiff
- Skip test if the function to test is not available
authorDerick Rethans <derick@php.net>
Sat, 18 Jan 2003 13:53:25 +0000 (13:53 +0000)
committerDerick Rethans <derick@php.net>
Sat, 18 Jan 2003 13:53:25 +0000 (13:53 +0000)
#- Perhaps we need some infrastructure for this...

ext/standard/tests/general_functions/proc_open.phpt

index af275fe6bb2a9593208c6427a63136c13cdc0cd3..0cd08bd6b20e1908a1e77e70ffce5069552844f0 100644 (file)
@@ -3,6 +3,7 @@ proc_open
 --SKIPIF--
 <?php # vim:syn=php
 if (!is_executable("/bin/cat")) echo "skip";
+if (!function_exists("proc_open")) echo "skip proc_open() is not available";
 ?>
 --POST--
 --GET--