Skip to content

Commit ad9c552

Browse files
mhagstrandnikic
authored andcommitted
Fix glob-wrapper.phpt to not fail in Windows
1 parent 7e49e8e commit ad9c552

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ext/standard/tests/streams/glob-wrapper.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) {
2323
--EXPECTF--
2424
** Opening %s
2525

26-
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
26+
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
2727

28-
Warning: opendir(/%s): failed to open dir: Operation not permitted in %s/glob-wrapper.php on line 5
29-
Failed to open /%s
28+
Warning: opendir(%s): failed to open dir: Operation not permitted in %s%eglob-wrapper.php on line 5
29+
Failed to open %s
3030
** Opening glob://%s
3131

32-
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
32+
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
3333

34-
Warning: opendir(glob://%s): failed to open dir: operation failed in %s/glob-wrapper.php on line 5
34+
Warning: opendir(glob://%s): failed to open dir: operation failed in %s%eglob-wrapper.php on line 5
3535
Failed to open glob://%s

0 commit comments

Comments
 (0)