mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Sync the expected output with Linux dirname output. The test passes now.
Perhaps this should be split into two tests, because the Win32 paths don't work properly with PHP's dirname on Unix.
This commit is contained in:
parent
14c195a6d8
commit
a1322e145c
@ -19,12 +19,12 @@ dirname test
|
||||
check_dirname("c:\foo");
|
||||
?>
|
||||
--EXPECT--
|
||||
dirname(/foo/) ==
|
||||
dirname(/foo) ==
|
||||
dirname(/foo/) == /
|
||||
dirname(/foo) == /
|
||||
dirname(/foo/bar) == /foo
|
||||
dirname(d:\foo\bar.inc) ==
|
||||
dirname(/) ==
|
||||
dirname(d:\foo\bar.inc) == .
|
||||
dirname(/) == /
|
||||
dirname(.../foo) == ...
|
||||
dirname(./foo) == .
|
||||
dirname(foobar///) ==
|
||||
dirname(c:\foo) ==
|
||||
dirname(foobar///) == .
|
||||
dirname(c:\foo) == .
|
||||
|
Loading…
Reference in New Issue
Block a user