From: Stig Bakken Date: Wed, 4 Oct 2000 07:33:21 +0000 (+0000) Subject: * changed Andi's "testdirname" into a real regression test X-Git-Tag: php-4.0.3~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de527c2379ce1a204aea0d06970a68770ede6e2a;p=php * changed Andi's "testdirname" into a real regression test # Andi, could you verify that the expected output really # is correct? --- diff --git a/tests/testdirname b/tests/dirname.phpt similarity index 53% rename from tests/testdirname rename to tests/dirname.phpt index 0cad9d8e32..0ab4ae7337 100644 --- a/tests/testdirname +++ b/tests/dirname.phpt @@ -1,4 +1,7 @@ - +--EXPECT-- +dirname(/foo/) == +dirname(/foo) == +dirname(/foo/bar) == /foo +dirname(d:\foo\bar.inc) == +dirname(/) == +dirname(.../foo) == ... +dirname(./foo) == . +dirname(foobar///) == +dirname(c:\foo) ==