mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
fix tests
This commit is contained in:
parent
2326c077e7
commit
f2038206cc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user