]> granicus.if.org Git - php/commitdiff
- remove confusion for non windows/linux users
authorPierre Joye <pajoye@php.net>
Sat, 16 Aug 2008 13:27:18 +0000 (13:27 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 16 Aug 2008 13:27:18 +0000 (13:27 +0000)
ext/standard/tests/file/popen_pclose_error-win32-debug.phpt
ext/standard/tests/file/popen_pclose_error-win32.phpt

index efe504f5ba699f81a3b076aedccb30ebecb21def..81a18aeea57972e0ea22c8c29030f0bcd32abdba 100644 (file)
@@ -3,7 +3,7 @@ Test popen() and pclose function: error conditions
 
 --SKIPIF--
 <?php
-if(substr(PHP_OS, 0, 3) != 'WIN' && PHP_DEBUG) die("skip Not Valid for Linux");
+if(substr(PHP_OS, 0, 3) != 'WIN' && PHP_DEBUG) die("skip Valid only on Windows");
 if(!PHP_DEBUG) die("skip Not Valid for release builds");
 ob_start();phpinfo(INFO_GENERAL);$inf=ob_get_contents(); ob_end_clean();
 if (!(strpos($inf, 'MSVC9') || strpos($inf, 'MSVC8'))) die("skip Not Valid for build done with VC < 8");
index f9e4b0eab97913d768891a408515d1a67daef1be..b75dfe6177e6edbb4cc5043ba38ae407ea81ed94 100644 (file)
@@ -3,9 +3,7 @@ Test popen() and pclose function: error conditions
 
 --SKIPIF--
 <?php
-ob_start();phpinfo(INFO_GENERAL);$inf=ob_get_contents(); ob_end_clean();
-if (strpos('MSVC9', $inf) || strpos('MSVC8', $inf)) die("skip Not Valid for build done with VC < 8");
-if(substr(PHP_OS, 0, 3) != 'WIN' ) die("skip Not Valid for Linux");
+if(substr(PHP_OS, 0, 3) != 'WIN' ) die("skip Valid only on Windows");
 if(PHP_DEBUG) die("skip Not Valid for debug builds");
 ?>