fix tests

This commit is contained in:
Raghubansh Kumar 2007-08-16 16:31:25 +00:00
parent 2326c077e7
commit f2038206cc

View File

@ -2,9 +2,10 @@
Test popen() and pclose function: error conditions
--SKIPIF--
<?php
if( strtoupper( substr(PHP_OS, 0, 3) ) != 'SUN' )
die("skip Only Valid for Sun Solaris");
if( substr(PHP_OS, 0, 3) != 'Sun')
die("skip Only valid for Sun Solaris");
?>
--FILE--
<?php
/*
@ -41,6 +42,7 @@ Warning: Wrong parameter count for popen() in %s on line %d
NULL
resource(%d) of type (stream)
sh: abc.txt: not found
Warning: Wrong parameter count for pclose() in %s on line %d
NULL