t0060: verify that real_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:
parent
a0601dc11f
commit
a5c45218b6
@ -144,6 +144,10 @@ test_expect_success 'absolute path rejects the empty string' '
|
|||||||
test_must_fail test-path-utils absolute_path ""
|
test_must_fail test-path-utils absolute_path ""
|
||||||
'
|
'
|
||||||
|
|
||||||
|
test_expect_failure 'real path rejects the empty string' '
|
||||||
|
test_must_fail test-path-utils real_path ""
|
||||||
|
'
|
||||||
|
|
||||||
test_expect_success SYMLINKS 'real path works as expected' '
|
test_expect_success SYMLINKS 'real path works as expected' '
|
||||||
mkdir first &&
|
mkdir first &&
|
||||||
ln -s ../.git first/.git &&
|
ln -s ../.git first/.git &&
|
||||||
|
Loading…
Reference in New Issue
Block a user