From: Remi Collet Date: Wed, 13 Sep 2017 10:20:05 +0000 (+0200) Subject: fix tests for 32-bit X-Git-Tag: php-7.2.0RC3~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d99cd289257a97be3f5b344fe8de4bc3de85e609;p=php fix tests for 32-bit --- diff --git a/sapi/phpdbg/tests/exceptions_003.phpt b/sapi/phpdbg/tests/exceptions_003.phpt index 1ffcf4246c..9d4abc0739 100644 --- a/sapi/phpdbg/tests/exceptions_003.phpt +++ b/sapi/phpdbg/tests/exceptions_003.phpt @@ -26,7 +26,7 @@ prompt> [L7 %s ECHO<1> "ok\n" 00009: } catch (Error $e) { prompt> ok [L7 %s FAST_RET ~%d try-catch(0) %s] -[L9 %s CATCH<-224> "Error" $e 1 %s] +[L9 %s CATCH<-%d> "Error" $e 1 %s] >00005: x(); 00006: } finally { 00007: print "ok\n"; diff --git a/sapi/phpdbg/tests/stepping_001.phpt b/sapi/phpdbg/tests/stepping_001.phpt index 2f25acc449..e8e32db0be 100644 --- a/sapi/phpdbg/tests/stepping_001.phpt +++ b/sapi/phpdbg/tests/stepping_001.phpt @@ -25,7 +25,7 @@ prompt> [L0 %s HANDLE_EXCEPTION 00005: } 00006: prompt> [L0 %s HANDLE_EXCEPTION %s] -[L9 %s CATCH<-128> "Exception" $e 1 %s] +[L9 %s CATCH<-%d> "Exception" $e 1 %s] >00008: foo(); 00009: } catch (Exception $e) { 00010: echo "ok";