diff options
author | Sascha Schumann <sas@php.net> | 2000-12-24 14:40:37 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-12-24 14:40:37 +0000 |
commit | a1322e145caebf3c9eba651173bcad700acbb5b5 (patch) | |
tree | 23469c6aa717b66dc9bb0b7cbee8ada9f80a8470 /tests/dirname.phpt | |
parent | 14c195a6d8fa369288823af3529952e371061893 (diff) | |
download | php-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.
Diffstat (limited to 'tests/dirname.phpt')
-rw-r--r-- | tests/dirname.phpt | 12 |
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) == . |