From: Nikita Popov Date: Thu, 21 Feb 2019 11:19:02 +0000 (+0100) Subject: Make zip oo_addglob test more robust X-Git-Tag: php-7.4.0alpha1~925 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6964ba09052210e8aa7299de4cbc449462cd5da3;p=php Make zip oo_addglob test more robust Use a separate directory for the test, so files created in the main test directory cannot influence it. --- diff --git a/ext/zip/tests/oo_addglob.phpt b/ext/zip/tests/oo_addglob.phpt index ea21f0161a..0699797a5d 100644 --- a/ext/zip/tests/oo_addglob.phpt +++ b/ext/zip/tests/oo_addglob.phpt @@ -11,11 +11,12 @@ if(!defined("GLOB_BRACE")) die ('skip'); ?> --FILE-- status == ZIPARCHIVE::ER_OK) { ?> --CLEAN-- --EXPECT-- 0 bar