]> git.ipfire.org Git - thirdparty/git.git/commit
t9141: use test_path_is_missing()
authorDenton Liu <liu.denton@gmail.com>
Mon, 20 Apr 2020 08:54:42 +0000 (04:54 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2020 20:12:13 +0000 (13:12 -0700)
commit5935ae3ee9da3a49a98c42837d7846abea407e23
tree1be5dcc03ba8993b4474de78138ee81da37c2671
parente8a5f07d51c5a3081ec65a011681b643ae97b000
t9141: use test_path_is_missing()

The test_must_fail() function should only be used for git commands since
we assume that external commands work sanely. Since, not only should
these directories not exist, but there shouldn't exist _any_ filesystem
entity in these paths, replace `test_must_fail test -d` with
`test_path_is_missing`.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9141-git-svn-multiple-branches.sh