]> granicus.if.org Git - php/commitdiff
Fixed test
authorJulien Pauli <jpauli@php.net>
Wed, 30 Sep 2015 11:18:16 +0000 (13:18 +0200)
committerJulien Pauli <jpauli@php.net>
Wed, 30 Sep 2015 11:18:16 +0000 (13:18 +0200)
ext/phar/tests/bug70433.phpt

index cbebb34c374b9ac26bfe438484a98fc282605980..cc8f4384638d0dfbba6ddd5e0d63a054367f3cf0 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Phar - bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
 --SKIPIF--
-<?php if (!extension_loaded("phar")) die("skip"); ?>
+<?php if (!extension_loaded("phar") || !extension_loaded("zlib")) die("skip"); ?>
 --FILE--
 <?php
 $phar = new PharData(__DIR__."/bug70433.zip");