summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-03-31 01:29:05 +0200
committerFerenc Kovacs <tyrael@php.net>2016-03-31 01:35:38 +0200
commite197c9b13991e569179a709574187f9e455efc0f (patch)
tree2be0685d782f40db037529324f215c3060506c5c
parent7522335b994595f8ef28b078b4ce440eca225422 (diff)
downloadphp-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.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");