From ad623f1d78151dfe2eaee85e93ed1058be1c7f91 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 8 May 2021 16:45:07 +0200 Subject: Add a test for #390 --- .../disabled_functions_shell_exec_wrong.phpt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/tests/disable_function/disabled_functions_shell_exec_wrong.phpt (limited to 'src/tests/disable_function/disabled_functions_shell_exec_wrong.phpt') diff --git a/src/tests/disable_function/disabled_functions_shell_exec_wrong.phpt b/src/tests/disable_function/disabled_functions_shell_exec_wrong.phpt new file mode 100644 index 0000000..580679c --- /dev/null +++ b/src/tests/disable_function/disabled_functions_shell_exec_wrong.phpt @@ -0,0 +1,14 @@ +--TEST-- +Disable functions - shell_exec, with a non-existing command +--SKIPIF-- + +--INI-- +sp.configuration_file={PWD}/config/disabled_functions.ini +--FILE-- + +--EXPECTF-- +%sfoo: not found +YES -- cgit v1.3