From 7c208bb39a6440f7fc2d6f0913a7ab3e3249a221 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Thu, 15 May 2014 14:09:27 +0200 Subject: Adding some tests for logging shellscripts --- tests/logging/logscript_executable.phpt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/logging/logscript_executable.phpt (limited to 'tests/logging/logscript_executable.phpt') diff --git a/tests/logging/logscript_executable.phpt b/tests/logging/logscript_executable.phpt new file mode 100644 index 0000000..f6d535c --- /dev/null +++ b/tests/logging/logscript_executable.phpt @@ -0,0 +1,17 @@ +--TEST-- +Testing: suhosin.log.script.name=EXECUTABLE +--SKIPIF-- + +--INI-- +suhosin.log.sapi=0 +suhosin.log.stdout=0 +suhosin.log.script=255 +suhosin.log.script.name=/bin/echo +suhosin.log.syslog=0 +suhosin.executor.func.blacklist=max +--FILE-- + +--EXPECTF-- +Warning: max() has been disabled for security reasons in %s on line 2 \ No newline at end of file -- cgit v1.3