t0060: verify that absolute_path() fails if passed the empty string

It doesn't, so mark the test as failing.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Michael Haggerty 2012-09-07 00:40:58 +02:00 committed by Junio C Hamano
parent 8da650b456
commit 17264bcc4f

View File

@ -140,6 +140,10 @@ test_expect_success 'strip_path_suffix' '
c:/msysgit/libexec//git-core libexec/git-core)
'
test_expect_failure 'absolute path rejects the empty string' '
test_must_fail test-path-utils absolute_path ""
'
test_expect_success SYMLINKS 'real path works as expected' '
mkdir first &&
ln -s ../.git first/.git &&