summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-12-24 14:40:37 +0000
committerSascha Schumann <sas@php.net>2000-12-24 14:40:37 +0000
commita1322e145caebf3c9eba651173bcad700acbb5b5 (patch)
tree23469c6aa717b66dc9bb0b7cbee8ada9f80a8470
parent14c195a6d8fa369288823af3529952e371061893 (diff)
downloadphp-git-a1322e145caebf3c9eba651173bcad700acbb5b5.tar.gz
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.
-rw-r--r--tests/dirname.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/dirname.phpt b/tests/dirname.phpt
index 0ab4ae7337..c2e1edbe14 100644
--- a/tests/dirname.phpt
+++ b/tests/dirname.phpt
@@ -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) == .