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 ++++++++++++++++++ tests/executor/negative_memory_limit.phpt | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 tests/executor/memory_limit_negative.phpt delete mode 100644 tests/executor/negative_memory_limit.phpt (limited to 'tests/executor') 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 + diff --git a/tests/executor/negative_memory_limit.phpt b/tests/executor/negative_memory_limit.phpt deleted file mode 100644 index 7fad546..0000000 --- a/tests/executor/negative_memory_limit.phpt +++ /dev/null @@ -1,18 +0,0 @@ ---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