From 37a8782f0c82a5fc1b8297ecebe543a1fc2b8fd0 Mon Sep 17 00:00:00 2001 From: Steph Fox Date: Sun, 27 Apr 2008 11:31:27 +0000 Subject: [PATCH] - 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 --- ext/phar/tests/phar_extract.phpt | 4 ++-- ext/phar/tests/phpinfo_002.phpt | 2 ++ ext/phar/tests/phpinfo_003.phpt | 2 ++ ext/phar/tests/zip/phar_setalias.phpt | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) 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-- -- 2.50.1