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:
Sascha Schumann 2000-12-24 14:40:37 +00:00
parent 14c195a6d8
commit a1322e145c

View File

@ -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) == .