com php-src: fix test to not to cause false positives: ext/fileinfo/tests/bug68996.phpt

From: Date: Wed, 30 Mar 2016 23:35:38 +0000
Subject: com php-src: fix test to not to cause false positives: ext/fileinfo/tests/bug68996.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91562@lists.php.net to get a copy of this message
Commit: e197c9b13991e569179a709574187f9e455efc0f Author: Anatol Belski <ab@php.net> Thu, 31 Mar 2016 01:29:05 +0200 Committer: Ferenc Kovacs <tyrael@php.net> Thu, 31 Mar 2016 01:35:38 +0200 Parents: 7522335b994595f8ef28b078b4ce440eca225422 Branches: PHP-5.6.20 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e197c9b13991e569179a709574187f9e455efc0f Log: fix test to not to cause false positives Changed paths: M ext/fileinfo/tests/bug68996.phpt Diff: diff --git a/ext/fileinfo/tests/bug68996.phpt b/ext/fileinfo/tests/bug68996.phpt index da208d3..214e52f 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");

« previous php.cvs (#91562) next »