diff options
author | Zoe Slattery <zoe@php.net> | 2009-08-30 09:30:13 +0000 |
---|---|---|
committer | Zoe Slattery <zoe@php.net> | 2009-08-30 09:30:13 +0000 |
commit | 6a22ec3edabebbe57f53d6f42aacbd5ad97ad7ba (patch) | |
tree | 4d0202e6e7603adf5326a9fb1fd435d702dfc7e7 /tests/func | |
parent | 94039c35b9183df5093c4cd6f868dad7b253bfde (diff) | |
download | php-git-6a22ec3edabebbe57f53d6f42aacbd5ad97ad7ba.tar.gz |
More tests from 2009 testfest
Diffstat (limited to 'tests/func')
-rw-r--r-- | tests/func/time_sleep_until_basic.phpt | 15 | ||||
-rw-r--r-- | tests/func/time_sleep_until_error2.phpt | 16 |
2 files changed, 0 insertions, 31 deletions
diff --git a/tests/func/time_sleep_until_basic.phpt b/tests/func/time_sleep_until_basic.phpt deleted file mode 100644 index def114cc48..0000000000 --- a/tests/func/time_sleep_until_basic.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -time_sleep_until — Make the script sleep until the specified time ---CREDITS-- -Àlex Corretgé - alex@corretge.cat ---FILE-- -<?php - -$timeA = time(); -time_sleep_until($timeA+3); -$timeB = time(); -echo ($timeB - $timeA) . " seconds."; - -?> ---EXPECT-- -3 seconds.
\ No newline at end of file diff --git a/tests/func/time_sleep_until_error2.phpt b/tests/func/time_sleep_until_error2.phpt deleted file mode 100644 index bb999b9bef..0000000000 --- a/tests/func/time_sleep_until_error2.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -time_sleep_until — Make the script sleep until the specified time ---CREDITS-- -Àlex Corretgé - alex@corretge.cat ---FILE-- -<?php - -$timeA = time(); -time_sleep_until($timeA-3); -$timeB = time(); -echo ($timeB - $timeA) . " seconds."; - -?> ---EXPECTF-- -Warning: time_sleep_until(): Sleep until to time is less than current time in %s.php on line %d -0 seconds.
\ No newline at end of file |