summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_shell_exec_wrong.phpt
blob: fe8e73a637f0672e5e22853853c0fa20714b8d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Disable functions - shell_exec, with a non-existing command
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/disabled_functions.ini
--FILE--
<?php 
$gs = exec( 'foo' );
echo "YES";
?>
--EXPECTF--
%snot found
YES