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

index 85bea31bec4fc063d5f2f12dfd390fc27a4a8ad5..d2de737cffb534f400f92de497837fa8f2568e2f 100644 (file)
@@ -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