com php-src: fix test: ext/phar/tests/bug69441.phpt
| From: | Anatol Belski | Date: | Fri, 22 May 2015 19:25:52 +0000 |
| Subject: | com php-src: fix test: ext/phar/tests/bug69441.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86874@lists.php.net to get a copy of this message | ||
Commit: d9c266f4c91ab4cbee1c334f078c63519ab21395
Author: Anatol Belski <ab@php.net> Fri, 22 May 2015 21:25:52 +0200
Parents: 827d2c14150197e20897cba39c1824aa910df95a
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d9c266f4c91ab4cbee1c334f078c63519ab21395
Log:
fix test
Sometimes the path is unixified, sometimes not, so better don't
care about the slash in this case.
Changed paths:
M ext/phar/tests/bug69441.phpt
Diff:
diff --git a/ext/phar/tests/bug69441.phpt b/ext/phar/tests/bug69441.phpt
index 03c87e3..934c5f6 100644
--- a/ext/phar/tests/bug69441.phpt
+++ b/ext/phar/tests/bug69441.phpt
@@ -14,7 +14,7 @@ $r = new Phar($fname, 0);
==DONE==
--EXPECTF--
-exception 'UnexpectedValueException' with message 'phar error: corrupted central
directory entry, no magic signature in zip-based phar "%s%ebug69441.phar"' in
%s%ebug69441.php:%d
+exception 'UnexpectedValueException' with message 'phar error: corrupted central
directory entry, no magic signature in zip-based phar "%sbug69441.phar"' in
%sbug69441.php:%d
Stack trace:
#0 %s%ebug69441.php(%d): Phar->__construct('%s', 0)
#1 {main}