]> granicus.if.org Git - php/commitdiff
fix test
authorRaghubansh Kumar <kraghuba@php.net>
Thu, 16 Aug 2007 16:33:16 +0000 (16:33 +0000)
committerRaghubansh Kumar <kraghuba@php.net>
Thu, 16 Aug 2007 16:33:16 +0000 (16:33 +0000)
ext/standard/tests/file/popen_pclose_error-sunos.phpt

index 76b5ac24f906083efc4c84b371e8c6bbf90f835a..e9a20d6381f8f1f1b3395d3579a4b78cde4aac81 100644 (file)
@@ -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 @@ Warning: popen() expects exactly 2 parameters, 1 given 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
 
@@ -62,6 +63,7 @@ Warning: popen() expects exactly 2 parameters, 1 given 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