From d9819967e4848bcc4c22273a7778863da2b3f3f6 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Tue, 11 Feb 2014 12:41:40 +0100 Subject: Add some memory_limit tests --- tests/executor/memory_limit_64bit_10G.phpt | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tests/executor/memory_limit_64bit_10G.phpt (limited to 'tests/executor/memory_limit_64bit_10G.phpt') diff --git a/tests/executor/memory_limit_64bit_10G.phpt b/tests/executor/memory_limit_64bit_10G.phpt new file mode 100644 index 0000000..284db50 --- /dev/null +++ b/tests/executor/memory_limit_64bit_10G.phpt @@ -0,0 +1,36 @@ +--TEST-- +memory_limit test: set suhosin hard_limit to normal limit (64 bit) - 10 GB +--SKIPIF-- + +--INI-- +memory_limit=10G +suhosin.memory_limit=0 +suhosin.log.syslog=0 +suhosin.log.script=0 +suhosin.log.sapi=2 +--FILE-- + +--EXPECTF-- +13M +14M +15M +16M +17M +18M +2G +3G +4G +5G -- cgit v1.3