Skip to content

Commit b73a73d

Browse files
committed
fix test
1 parent 71f8c4d commit b73a73d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/tests/directory/bug74589_utf8.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Bug #74589 __DIR__ wrong for unicode character, UTF-8
33
--SKIPIF--
44
<?php
5-
if (substr(PHP_OS, 0, 3) != 'WIN' || PHP_OS != 'Linux') {
5+
if (substr(PHP_OS, 0, 3) != 'WIN' && PHP_OS != 'Linux') {
66
die('skip Linux or Windows only');
77
}
88
?>
@@ -35,7 +35,7 @@ echo shell_exec("$php -n $test_file");
3535
===DONE===
3636
--EXPECTF--
3737
string(%d) "%sbug74589_新建文件夹"
38-
string(%d) "%sbug74589_新建文件夹\test.php"
38+
string(%d) "%sbug74589_新建文件夹%etest.php"
3939
bool(true)
4040
===DONE===
4141
--CLEAN--

0 commit comments

Comments
 (0)