kraghuba Thu Aug 16 16:33:16 2007 UTC
Modified files:
/php-src/ext/standard/tests/file popen_pclose_error-sunos.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt
diff -u php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt:1.2
php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt:1.3
--- php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt:1.2 Tue Jul
10 07:26:31 2007
+++ php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt Thu Aug
16 16:33:16 2007
@@ -2,7 +2,7 @@
Test popen() and pclose function: error conditions
--SKIPIF--
<?php
-if( strtoupper( substr(PHP_OS, 0, 3) ) != 'SUN' )
+if(substr(PHP_OS, 0, 3) != 'Sun' )
die("skip Only Valid for Sun Solaris");
?>
@@ -42,6 +42,7 @@
NULL
resource(%d) of type (stream)
sh: abc.txt: not found
+
Warning: Wrong parameter count for pclose() in %s on line %d
NULL
@@ -62,6 +63,7 @@
NULL
resource(%d) of type (stream)
sh: abc.txt: not found
+
Warning: Wrong parameter count for pclose() in %s on line %d
NULL
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php