com php-src: fix test: ext/phar/tests/bug72321.phpt
| From: | Ferenc Kovacs | Date: | Wed, 22 Jun 2016 01:49:54 +0000 |
| Subject: | com php-src: fix test: ext/phar/tests/bug72321.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92596@lists.php.net to get a copy of this message | ||
Commit: 1cfd6996d4dc9b32bf2dbecf2a0d184f2139081f
Author: Anatol Belski <ab@php.net> Tue, 21 Jun 2016 16:20:03 +0200
Committer: Ferenc Kovacs <tyrael@php.net> Wed, 22 Jun 2016 03:49:54 +0200
Parents: c6af288e3291eb4c1bad0bbd87efb1abd87d5dd8
Branches: PHP-5.6.23
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1cfd6996d4dc9b32bf2dbecf2a0d184f2139081f
Log:
fix test
There is a difference between TS and NTS warning message, since
virtual_mkdir vs glibc directly is used. This has no effect for
the actual fix functionality.
Changed paths:
M ext/phar/tests/bug72321.phpt
Diff:
diff --git a/ext/phar/tests/bug72321.phpt b/ext/phar/tests/bug72321.phpt
index 37aca19..6e63da4 100644
--- a/ext/phar/tests/bug72321.phpt
+++ b/ext/phar/tests/bug72321.phpt
@@ -21,6 +21,6 @@ DONE
rmdir(__DIR__."/test72321");
?>
--EXPECTF--
-Warning: PharData::extractTo(): Not a directory in %s/bug72321.php on line %d
-Extraction from phar "%s/72321_2.zip" failed: Cannot extract
"AAAAAAAAxxxxBBBBCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/b/c", could
not create directory
"test72321/AAAAAAAAxxxxBBBBCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/b"
-DONE
\ No newline at end of file
+Warning: PharData::extractTo(): %s in %sbug72321.php on line %d
+Extraction from phar "%s72321_2.zip" failed: Cannot extract
"AAAAAAAAxxxxBBBBCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/b/c", could
not create directory
"test72321/AAAAAAAAxxxxBBBBCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/b"
+DONE