From b1a4af56f09a9469eeaf006480804451e60fe411 Mon Sep 17 00:00:00 2001 From: kkadosh Date: Sun, 3 Nov 2019 14:49:03 +0100 Subject: Log ip addresses --- src/tests/disable_function/disabled_function_super_global_var.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/disable_function/disabled_function_super_global_var.phpt') diff --git a/src/tests/disable_function/disabled_function_super_global_var.phpt b/src/tests/disable_function/disabled_function_super_global_var.phpt index 196d9e2..3aa8ea1 100644 --- a/src/tests/disable_function/disabled_function_super_global_var.phpt +++ b/src/tests/disable_function/disabled_function_super_global_var.phpt @@ -18,4 +18,4 @@ test(); --EXPECTF-- TEST -Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 3 +Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 3 -- cgit v1.3 From 048f4b48b727935a6378d8dc74d923a674aa7da1 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 7 Jun 2020 19:58:18 +0200 Subject: Fix a broken test on php nightly Apparently, php is now raising errors for non-existing keys in arrays, so we're now catching the exception to allow the test to be run. --- .../disable_function/disabled_function_super_global_var.phpt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/tests/disable_function/disabled_function_super_global_var.phpt') diff --git a/src/tests/disable_function/disabled_function_super_global_var.phpt b/src/tests/disable_function/disabled_function_super_global_var.phpt index 3aa8ea1..19bb892 100644 --- a/src/tests/disable_function/disabled_function_super_global_var.phpt +++ b/src/tests/disable_function/disabled_function_super_global_var.phpt @@ -9,13 +9,17 @@ bla=test --FILE-- --EXPECTF-- TEST -Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 3 +Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 4 -- cgit v1.3