提交 a5c45218 编写于 作者: M Michael Haggerty 提交者: Junio C Hamano

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

It doesn't, so mark the test as failing.
Signed-off-by: NMichael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 a0601dc1
......@@ -144,6 +144,10 @@ test_expect_success 'absolute path rejects the empty string' '
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' '
mkdir first &&
ln -s ../.git first/.git &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册