diff options
author | Anatol Belski <ab@php.net> | 2016-03-31 01:29:05 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-03-31 01:29:05 +0200 |
commit | ed707a521738fa7269b1992a6738bfef44662f46 (patch) | |
tree | 95da4712d0d058347b16c2d45e0a23f91a33e514 | |
parent | cef40c0c3fe05beb58ed8d4bc8bbf9658ab64a71 (diff) | |
download | php-git-ed707a521738fa7269b1992a6738bfef44662f46.tar.gz |
fix test to not to cause false positives
-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"); |