From e79f7e3bd992c7f0915ef9afe7afb6d79740527a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 14 Jan 2019 19:29:25 +0000 Subject: Reorganize the testsuite Splitting the testsuite in several components makes it easier to manage and comprehend. This was also needed some some tests aren't passing on Alpine Linux, but we still want to run as many of them as we can on this platform.--- src/tests/eval_whitelist_include_then_user.phpt | 30 ------------------------- 1 file changed, 30 deletions(-) delete mode 100644 src/tests/eval_whitelist_include_then_user.phpt (limited to 'src/tests/eval_whitelist_include_then_user.phpt') diff --git a/src/tests/eval_whitelist_include_then_user.phpt b/src/tests/eval_whitelist_include_then_user.phpt deleted file mode 100644 index 5ff3bff..0000000 --- a/src/tests/eval_whitelist_include_then_user.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Eval whitelist - builtin function ---SKIPIF-- - ---INI-- -sp.configuration_file={PWD}/config/eval_whitelist.ini ---FILE-- -'); - -$a = cos(1); -echo "Outside of eval: $a\n"; -eval('$a = cos(5);'); -echo "After allowed eval: $a\n"; -eval("include_once('$dir' . '/test.bla');"); -echo "After eval: $b\n"; -?> ---CLEAN-- - ---EXPECTF-- -Outside of eval: 0.54030230586814 -After allowed eval: 0.28366218546323 - -Fatal error: [snuffleupagus][Eval_whitelist] The function 'sin' isn't in the eval whitelist, dropping its call. in %a/test.bla on line 1 \ No newline at end of file -- cgit v1.3