]> granicus.if.org Git - php/commitdiff
fix test
authorStanislav Malyshev <stas@php.net>
Tue, 1 Sep 2015 07:59:31 +0000 (00:59 -0700)
committerStanislav Malyshev <stas@php.net>
Tue, 1 Sep 2015 07:59:31 +0000 (00:59 -0700)
ext/zip/tests/bug70350.phpt

index c308f549cf250f85ec172da6a0afd2406de7e738..d81de65a32ccc4d37a1dc43ef5b52873b2273899 100644 (file)
@@ -15,7 +15,7 @@ $archive->addEmptyDir("../down2/");
 $archive->close();
 
 $archive2 = new ZipArchive();
-$archive2->open('a.zip');
+$archive2->open("$dir/a.zip");
 $archive2->extractTo($dir);
 $archive2->close();
 var_dump(file_exists("$dir/down2/"));