cvs: php-src(PHP_5_2) /ext/standard/tests/file popen_pclose_error-sunos.phpt
| From: | Raghubansh Kumar | Date: | Thu, 16 Aug 2007 16:31:25 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/file popen_pclose_error-sunos.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-45905@lists.php.net to get a copy of this message | ||
kraghuba Thu Aug 16 16:31:25 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/file popen_pclose_error-sunos.phpt
Log:
fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt?r1=1.1.2.2&r2=1.1.2.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.1.2.2
php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt:1.1.2.3
--- php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt:1.1.2.2 Wed Jul 11 09:13:47 2007
+++ php-src/ext/standard/tests/file/popen_pclose_error-sunos.phpt Thu Aug 16 16:31:25 2007
@@ -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 @@
NULL
resource(%d) of type (stream)
sh: abc.txt: not found
+
Warning: Wrong parameter count for pclose() in %s on line %d
NULL