com php-src: fix test: ext/phar/tests/bug69720.phpt
| From: | Anatol Belski | Date: | Tue, 29 Sep 2015 07:11:52 +0000 |
| Subject: | com php-src: fix test: ext/phar/tests/bug69720.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89203@lists.php.net to get a copy of this message | ||
Commit: 208ed0a01059a32af38be5c3c5481c200c8ec4a2
Author: Anatol Belski <ab@php.net> Tue, 29 Sep 2015 09:11:52 +0200
Parents: d6e8426ebf10214f750b33c37fa5df0e909b919b
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=208ed0a01059a32af38be5c3c5481c200c8ec4a2
Log:
fix test
cutting out the '/' is not critical, but allows to avoid forking
Changed paths:
M ext/phar/tests/bug69720.phpt
Diff:
diff --git a/ext/phar/tests/bug69720.phpt b/ext/phar/tests/bug69720.phpt
index 43b701d..286d3cb 100644
--- a/ext/phar/tests/bug69720.phpt
+++ b/ext/phar/tests/bug69720.phpt
@@ -25,7 +25,7 @@ try {
MY_METADATA_NULL
-Warning: file_get_contents(phar:///%s): failed to open stream: phar error: "test.php" is
not a file in phar "%s.phar" in %s.php on line %d
+Warning: file_get_contents(phar://%s): failed to open stream: phar error: "test.php" is
not a file in phar "%s.phar" in %s.php on line %d
array(1) {
["whatever"]=>
int(123)