From 047ccbc0c2bf7e9314cc5a1c94369cdec73947e3 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 1 May 2007 16:04:33 +0000 Subject: [PATCH] - MFH: Added test case for bug #41252. --- ext/mcrypt/tests/bug41252.phpt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ext/mcrypt/tests/bug41252.phpt diff --git a/ext/mcrypt/tests/bug41252.phpt b/ext/mcrypt/tests/bug41252.phpt new file mode 100644 index 0000000000..481fc54984 --- /dev/null +++ b/ext/mcrypt/tests/bug41252.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug41252.php on line 3 +I'm alive! -- 2.50.1