Skip to content

Commit

Permalink
fix test to not to cause false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling authored and Tyrael committed Mar 30, 2016
1 parent 7522335 commit e197c9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ext/fileinfo/tests/bug68996.phpt
Original file line number Diff line number Diff line change
@@ -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");
Expand Down

0 comments on commit e197c9b

Please sign in to comment.