summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_native_functions_indirect.phpt
diff options
context:
space:
mode:
authorjvoisin2020-12-12 18:57:48 +0000
committerjvoisin2020-12-12 20:33:14 +0100
commit5329a55bfd2b00d617a40d587cd37050d964ccbf (patch)
tree81ba53c4f950442a904a437458228d1ab2859227 /src/tests/disable_function/disabled_native_functions_indirect.phpt
parente34f5f5aaa4a40745bd652198d75b879aa09a53c (diff)
Mark the relevant php8 tests as broken (#359)
* Skip tests broken on php8 * Oops * Fix some tests * Add some XXE tests for php8 * Fix a test
Diffstat (limited to 'src/tests/disable_function/disabled_native_functions_indirect.phpt')
-rw-r--r--src/tests/disable_function/disabled_native_functions_indirect.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_native_functions_indirect.phpt b/src/tests/disable_function/disabled_native_functions_indirect.phpt
index 1539db3..df585c7 100644
--- a/src/tests/disable_function/disabled_native_functions_indirect.phpt
+++ b/src/tests/disable_function/disabled_native_functions_indirect.phpt
@@ -2,6 +2,7 @@
2Disabled native functions, called indirectly 2Disabled native functions, called indirectly
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?>
5--INI-- 6--INI--
6sp.configuration_file={PWD}/config/disabled_functions.ini 7sp.configuration_file={PWD}/config/disabled_functions.ini
7--FILE-- 8--FILE--
@@ -9,4 +10,4 @@ sp.configuration_file={PWD}/config/disabled_functions.ini
9array_map('system', [1,2,3,4]); 10array_map('system', [1,2,3,4]);
10?> 11?>
11--EXPECTF-- 12--EXPECTF--
12Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_native_functions_indirect.php on line 2 \ No newline at end of file 13Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_native_functions_indirect.php on line 2