From 7234fdbb0cb0dd45ed1d6e7814c91e596126ee25 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 9 Oct 2017 11:54:11 +0200 Subject: Implement matching on the calltrace (#17) * Implement matching on the calltrace--- .../disabled_functions_chain_not_matching.phpt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/tests/disabled_functions_chain_not_matching.phpt (limited to 'src/tests/disabled_functions_chain_not_matching.phpt') diff --git a/src/tests/disabled_functions_chain_not_matching.phpt b/src/tests/disabled_functions_chain_not_matching.phpt new file mode 100644 index 0000000..3a0400a --- /dev/null +++ b/src/tests/disabled_functions_chain_not_matching.phpt @@ -0,0 +1,28 @@ +--TEST-- +Disable functions by matching the calltrace +--SKIPIF-- + +--INI-- +sp.configuration_file={PWD}/config/config_disabled_functions_chain.ini +--FILE-- + +--EXPECTF-- +I'm before the call to outer +I'm in the outer function, before the call! +I'm in the inner function! +I'm in the outer function, after the call! +I'm after the call to outer -- cgit v1.3