com php-src: fix test: ext/phar/tests/bug72321.phpt
| From: | Anatol Belski | Date: | Tue, 21 Jun 2016 14:20:03 +0000 |
| Subject: | com php-src: fix test: ext/phar/tests/bug72321.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92570@lists.php.net to get a copy of this message | ||
Commit: e3bd360ec9ec22e3057fc6e75d3dd1b11595463d
Author: Anatol Belski <ab@php.net> Tue, 21 Jun 2016 16:20:03 +0200
Parents: a00350486f502c7d587229cb2a3182279212d129
Branches: PHP-5.6 PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e3bd360ec9ec22e3057fc6e75d3dd1b11595463d
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