diff options
author | Anatol Belski <ab@php.net> | 2016-03-31 01:29:05 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2016-03-31 01:35:38 +0200 |
commit | e197c9b13991e569179a709574187f9e455efc0f (patch) | |
tree | 2be0685d782f40db037529324f215c3060506c5c | |
parent | 7522335b994595f8ef28b078b4ce440eca225422 (diff) | |
download | php-git-PHP-5.6.20.tar.gz |
fix test to not to cause false positivesphp-5.6.20PHP-5.6.20
-rw-r--r-- | ext/fileinfo/tests/bug68996.phpt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/fileinfo/tests/bug68996.phpt b/ext/fileinfo/tests/bug68996.phpt index da208d35bc..214e52fa6f 100644 --- a/ext/fileinfo/tests/bug68996.phpt +++ b/ext/fileinfo/tests/bug68996.phpt @@ -1,11 +1,14 @@ --TEST-- Bug #68996 (Invalid free of CG(interned_empty_string)) --SKIPIF-- +<?php +if (getenv("USE_ZEND_ALLOC") !== "0") { + print "skip Need Zend MM disabled"; +} +?> <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --INI-- html_errors=1 ---ENV-- -USE_ZEND_ALLOC=0 --FILE-- <?php finfo_open(FILEINFO_MIME_TYPE, "\xfc\x63"); |