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/harden_rand_noargs.phpt | 62 --------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 src/tests/harden_rand_noargs.phpt (limited to 'src/tests/harden_rand_noargs.phpt') diff --git a/src/tests/harden_rand_noargs.phpt b/src/tests/harden_rand_noargs.phpt deleted file mode 100644 index fdf8124..0000000 --- a/src/tests/harden_rand_noargs.phpt +++ /dev/null @@ -1,62 +0,0 @@ ---TEST-- -Harden rand without any arguments ---SKIPIF-- - ---INI-- -sp.configuration_file={PWD}/config/harden_rand.ini -We should fix this ---FILE-- - ---EXPECTF-- -Warning: rand() expects exactly 2 parameters, 1 given in %s/tests/harden_rand_noargs.php on line %d - -Warning: mt_rand() expects exactly 2 parameters, 1 given in %s/tests/harden_rand_noargs.php on line %d - -Warning: mt_rand(): max(1) is smaller than min(2) in %s/tests/harden_rand_noargs.php on line %d - -Warning: rand() expects exactly 2 parameters, 3 given in %s/tests/harden_rand_noargs.php on line %d - -Warning: mt_rand() expects exactly 2 parameters, 3 given in %s/tests/harden_rand_noargs.php on line %d - -Warning: rand() expects parameter 1 to be in%s, string given in %s/tests/harden_rand_noargs.php on line %d - -Warning: mt_rand() expects parameter 1 to be in%s, string given in %s/tests/harden_rand_noargs.php on line %d - -Warning: rand() expects parameter 2 to be in%s, string given in %s/tests/harden_rand_noargs.php on line %d - -Warning: mt_rand() expects parameter 2 to be in%s, string given in %s/tests/harden_rand_noargs.php on line %d - -Warning: rand() expects exactly 2 parameters, 3 given in %s/tests/harden_rand_noargs.php on line %d - -Warning: mt_rand() expects exactly 2 parameters, 3 given in %s/tests/harden_rand_noargs.php on line %d -Everything is fine -Absolutely everything -Even with single quotes -- cgit v1.3