indeyets Wed, 15 Jul 2009 10:05:59 +0000 URL: http://svn.php.net/viewvc?view=revision&revision=284108
Changed paths: U php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_error4.phpt Log: fix broken test Modified: php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_error4.phpt =================================================================== --- php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_error4.phpt 2009-07-15 09:25:28 UTC (rev 284107) +++ php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_error4.phpt 2009-07-15 10:05:59 UTC (rev 284108) @@ -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