From: Anatol Belski Date: Fri, 22 May 2015 19:25:52 +0000 (+0200) Subject: fix test X-Git-Tag: php-5.5.26RC1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9c266f4c91ab4cbee1c334f078c63519ab21395;p=php fix test Sometimes the path is unixified, sometimes not, so better don't care about the slash in this case. --- diff --git a/ext/phar/tests/bug69441.phpt b/ext/phar/tests/bug69441.phpt index 03c87e34ca..934c5f6b73 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}