diff options
Diffstat (limited to 'ext/standard/tests/file/popen_pclose_error-sunos.phpt')
-rw-r--r-- | ext/standard/tests/file/popen_pclose_error-sunos.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/file/popen_pclose_error-sunos.phpt b/ext/standard/tests/file/popen_pclose_error-sunos.phpt index 4c85c9e494..b63dbeb7ea 100644 --- a/ext/standard/tests/file/popen_pclose_error-sunos.phpt +++ b/ext/standard/tests/file/popen_pclose_error-sunos.phpt @@ -2,8 +2,8 @@ Test popen() and pclose function: error conditions --SKIPIF-- <?php -if(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-- @@ -35,13 +35,13 @@ unlink($file_path."/popen.tmp"); --EXPECTF-- *** Testing for error conditions *** -Warning: popen() expects exactly 2 parameters, 0 given in %s on line %d +Warning: Wrong parameter count for popen() in %s on line %d NULL -Warning: popen() expects exactly 2 parameters, 1 given in %s on line %d +Warning: Wrong parameter count for popen() in %s on line %d NULL -resource(%d) of type (stream) sh: abc.txt: not found +resource(%d) of type (stream) Warning: Wrong parameter count for pclose() in %s on line %d NULL |