indeyets                Wed, 15 Jul 2009 10:06:38 +0000

URL: http://svn.php.net/viewvc?view=revision&revision=284109

Changed paths:
        U   
php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_error4.phpt

Log:
MFH: fix broken test

Modified: 
php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_error4.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_error4.phpt 
    2009-07-15 10:05:59 UTC (rev 284108)
+++ 
php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_error4.phpt 
    2009-07-15 10:06:38 UTC (rev 284109)
@@ -1,8 +1,8 @@
---TEST--
+--TEST--
 time_nanosleep — Delay for a number of seconds and nanoseconds
 --SKIPIF--
 <?php
-if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid 
for Windows");
+if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') die("skip Test is not valid 
for Windows");
 if (!function_exists('time_nanosleep')) die("skip");
 ?>
 --CREDITS--

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to