From: Derick Rethans Date: Tue, 1 May 2007 16:04:33 +0000 (+0000) Subject: - MFH: Added test case for bug #41252. X-Git-Tag: php-5.2.2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=047ccbc0c2bf7e9314cc5a1c94369cdec73947e3;p=php - MFH: Added test case for bug #41252. --- 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!