diff options
author | Anatol Belski <ab@php.net> | 2015-03-16 13:55:40 -0700 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-03-16 13:55:40 -0700 |
commit | fd51bd4a9efec93c8a400d0059af821671012c67 (patch) | |
tree | a1cbc28ba2d4bb12c4cc013b45d929d9f755f526 /tests/basic/timeout_variation_10.phpt | |
parent | 042dd8602e114253bddbd10a6df6c7bf24b3d7e5 (diff) | |
download | php-git-fd51bd4a9efec93c8a400d0059af821671012c67.tar.gz |
test fixes + added skipif for slow tests
Diffstat (limited to 'tests/basic/timeout_variation_10.phpt')
-rw-r--r-- | tests/basic/timeout_variation_10.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/basic/timeout_variation_10.phpt b/tests/basic/timeout_variation_10.phpt index edfb7127a6..b3d533d4dd 100644 --- a/tests/basic/timeout_variation_10.phpt +++ b/tests/basic/timeout_variation_10.phpt @@ -1,5 +1,9 @@ --TEST-- Timeout within shutdown function, variation +--SKIPIF-- +<?php + if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); +?> --FILE-- <?php @@ -11,7 +15,7 @@ set_time_limit($t); function f() { echo "call"; - busy_sleep(4); + busy_wait(4); } register_shutdown_function("f"); |