summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-03-31 01:29:05 +0200
committerAnatol Belski <ab@php.net>2016-03-31 01:29:05 +0200
commited707a521738fa7269b1992a6738bfef44662f46 (patch)
tree95da4712d0d058347b16c2d45e0a23f91a33e514
parentcef40c0c3fe05beb58ed8d4bc8bbf9658ab64a71 (diff)
downloadphp-git-ed707a521738fa7269b1992a6738bfef44662f46.tar.gz
fix test to not to cause false positives
-rw-r--r--ext/fileinfo/tests/bug68996.phpt7
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");