From: Anatol Belski Date: Mon, 16 Mar 2015 18:26:17 +0000 (+0100) Subject: test timeout with exception variation X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~644 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eab7da4bc91a60220bc8c6a208de1d324a7529aa;p=php test timeout with exception variation --- diff --git a/tests/basic/timeout_variation_6.phpt b/tests/basic/timeout_variation_6.phpt new file mode 100644 index 0000000000..387a358fc8 --- /dev/null +++ b/tests/basic/timeout_variation_6.phpt @@ -0,0 +1,24 @@ +--TEST-- +Timeout within function trowing exteption before timeout reached +--FILE-- + +never reached here +--EXPECTF-- +call +Fatal error: Uncaught exception 'Exception' with message 'exception before timeout' in %s:%d +Stack trace: +#0 %s(%d): f(%d) +#1 {main} + thrown in %s on line %d