From a1322e145caebf3c9eba651173bcad700acbb5b5 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 24 Dec 2000 14:40:37 +0000 Subject: 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. --- tests/dirname.phpt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') 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) == . -- cgit v1.2.1