From a4d148c28015a590ad41af80027b3ca4f446586c Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Wed, 5 Oct 2016 19:03:20 +0200 Subject: renamed tests --- tests/executor/memory_limit_negative.phpt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/executor/memory_limit_negative.phpt (limited to 'tests/executor/memory_limit_negative.phpt') diff --git a/tests/executor/memory_limit_negative.phpt b/tests/executor/memory_limit_negative.phpt new file mode 100644 index 0000000..7fad546 --- /dev/null +++ b/tests/executor/memory_limit_negative.phpt @@ -0,0 +1,18 @@ +--TEST-- +memory_limit test: trying to set memory_limit to a negative value +--SKIPIF-- + +--INI-- +memory_limit=16M +suhosin.memory_limit=17M +suhosin.log.syslog=0 +suhosin.log.script=0 +suhosin.log.sapi=2 +--FILE-- + +--EXPECTF-- +ALERT - script tried to disable memory_limit by setting it to a negative value -%d bytes which is not allowed (attacker 'REMOTE_ADDR not set', file '%s', line 2) +16M + -- cgit v1.3