MFH: Fix test on Windows

This commit is contained in:
Kalle Sommer Nielsen 2009-07-01 20:27:11 +00:00
parent 96f2a45df3
commit dc69d9228a

View File

@ -1,8 +1,8 @@
--TEST--
--TEST--
time_nanosleep — Delay for a number of seconds and nanoseconds
--SKIPIF--
<?php
if (substr(strtoupper(PHP_OS, 'WIN'))) die("skip Test is not valid for Windows");
if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
if (!function_exists('time_nanosleep')) die("skip");
?>
--CREDITS--