summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Hagstrand <mhagstrand@gmail.com>2017-01-10 11:51:55 -0800
committerNikita Popov <nikic@php.net>2017-01-10 23:18:52 +0100
commitad9c552b120b8f73a5e87b2f8af05e32db512e9f (patch)
tree006ee210c9fb055bde91192afec786bd365507e5
parent7e49e8e7970b423968de7a53ea9a0796f4634276 (diff)
downloadphp-git-ad9c552b120b8f73a5e87b2f8af05e32db512e9f.tar.gz
Fix glob-wrapper.phpt to not fail in Windows
-rw-r--r--ext/standard/tests/streams/glob-wrapper.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/streams/glob-wrapper.phpt b/ext/standard/tests/streams/glob-wrapper.phpt
index fc47d83a02..0e4438fdcc 100644
--- a/ext/standard/tests/streams/glob-wrapper.phpt
+++ b/ext/standard/tests/streams/glob-wrapper.phpt
@@ -23,13 +23,13 @@ foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) {
--EXPECTF--
** Opening %s
-Warning: opendir(): open_basedir restriction in effect. File(/%s) is not within the allowed path(s): (/does_not_exist) in %s/glob-wrapper.php on line 5
+Warning: opendir(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (/does_not_exist) in %s%eglob-wrapper.php on line 5
-Warning: opendir(/%s): failed to open dir: Operation not permitted in %s/glob-wrapper.php on line 5
-Failed to open /%s
+Warning: opendir(%s): failed to open dir: Operation not permitted in %s%eglob-wrapper.php on line 5
+Failed to open %s
** Opening glob://%s
-Warning: opendir(): open_basedir restriction in effect. File(/%s) is not within the allowed path(s): (/does_not_exist) in %s/glob-wrapper.php on line 5
+Warning: opendir(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (/does_not_exist) in %s%eglob-wrapper.php on line 5
-Warning: opendir(glob://%s): failed to open dir: operation failed in %s/glob-wrapper.php on line 5
+Warning: opendir(glob://%s): failed to open dir: operation failed in %s%eglob-wrapper.php on line 5
Failed to open glob://%s