summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_zero_cidr.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disable_function/disabled_functions_zero_cidr.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_zero_cidr.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disable_function/disabled_functions_zero_cidr.phpt b/src/tests/disable_function/disabled_functions_zero_cidr.phpt
index 0ec596c..4fd0bb9 100644
--- a/src/tests/disable_function/disabled_functions_zero_cidr.phpt
+++ b/src/tests/disable_function/disabled_functions_zero_cidr.phpt
@@ -1,7 +1,7 @@
1--TEST-- 1--TEST--
2Disable functions 2Disable functions
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> 4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5--ENV-- 5--ENV--
6return <<<EOF 6return <<<EOF
7REMOTE_ADDR=127.0.0.1 7REMOTE_ADDR=127.0.0.1
@@ -14,4 +14,4 @@ system("echo 42");
14printf("1337"); 14printf("1337");
15?> 15?>
16--EXPECTF-- 16--EXPECTF--
17Fatal error: [snuffleupagus][127.0.0.1][disabled_function] Aborted execution on call of the function 'system' in %a/disabled_functions_zero_cidr.php on line 2 \ No newline at end of file 17Fatal error: [snuffleupagus][127.0.0.1][disabled_function][drop] Aborted execution on call of the function 'system' in %a/disabled_functions_zero_cidr.php on line 2 \ No newline at end of file