]> granicus.if.org Git - php/commitdiff
-fix tests
authorPierre Joye <pajoye@php.net>
Wed, 3 Feb 2010 20:26:26 +0000 (20:26 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 3 Feb 2010 20:26:26 +0000 (20:26 +0000)
ext/standard/tests/misc/time_sleep_until_error2.phpt
ext/zlib/tests/bug_40189.phpt

index 311dd72f6b2cecb4cf30865c7bfe89df005a3799..d20c8ab65ec26afa4099e8a17ed93455850134fa 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 time_sleep_until() function - error test for time_sleep_until()
+--SKIPIF--
+<?php
+       function_exists('time_sleep_until') or die('skip time_sleep_until() is not supported in this build.');
+?>
 --CREDITS--
 Filippo De Santis fd@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
index c4ce13a09afdad1dd9b429b0e29f730d2782f064..aedf0619a16622e6777ae7466a30f7f46a1f3c8a 100644 (file)
@@ -23,5 +23,5 @@ var_dump(file_get_contents(dirname(__FILE__) . '/test.other'));
 ?>
 --EXPECT--
 string(40) "AwCFRi98wqppK23l2/7kIY8AlyEdAgAAAEdCTUI="
-bool(false)
+int(0)
 string(0) ""