From: Steph Fox Date: Sun, 27 Apr 2008 11:31:27 +0000 (+0000) Subject: - Fix a couple of failing tests/bad cleanup X-Git-Tag: RELEASE_2_0_0b1~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37a8782f0c82a5fc1b8297ecebe543a1fc2b8fd0;p=php - Fix a couple of failing tests/bad cleanup @Greg: the phpinfo() ones assumed no php.ini - this isn't always the case, even if it should be --- diff --git a/ext/phar/tests/phar_extract.phpt b/ext/phar/tests/phar_extract.phpt index 1606aa60fd..f08bd6c606 100644 --- a/ext/phar/tests/phar_extract.phpt +++ b/ext/phar/tests/phar_extract.phpt @@ -105,7 +105,7 @@ $e = dirname(__FILE__) . '/extract2/'; @rmdir($e); ?> --EXPECTF-- -%sextract/file1.txt +%sextract%cfile1.txt %sextract%cfile2.txt %sextract%cone %sextract%csubdir @@ -125,5 +125,5 @@ Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "file1.tx string(5) "first" string(2) "hi" Cannot extract to "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...", destination directory is too long for filesystem -Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." to "%sextract...", extracted filename is too long for filesystem +Extraction from phar "%stempmanifest1.phar.php" failed: Cannot extract "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." to "%sextract%s...", extracted filename is too long for filesystem ===DONE=== \ No newline at end of file diff --git a/ext/phar/tests/phpinfo_002.phpt b/ext/phar/tests/phpinfo_002.phpt index 061598eb07..62d4700212 100644 --- a/ext/phar/tests/phpinfo_002.phpt +++ b/ext/phar/tests/phpinfo_002.phpt @@ -5,6 +5,8 @@ Phar: phpinfo display 2 --INI-- +phar.readonly=1 +phar.require_hash=1 --FILE-- --INI-- +phar.readonly=1 +phar.require_hash=1 --FILE-- getAlias(), "\n"; --EXPECT--