]> git.ipfire.org Git - thirdparty/git.git/commit
t3030: use test_path_is_missing()
authorDenton Liu <liu.denton@gmail.com>
Tue, 7 Jan 2020 04:53:05 +0000 (23:53 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Jan 2020 20:56:02 +0000 (12:56 -0800)
commit245b9ba0ba51a9e19f77a2a96a82a4f021d4a9fc
tree44dacc5d4651813af586714128665cba72ed0325
parent4a6f11fd7be30a215b972a4d1dccd09ff146a36b
t3030: use test_path_is_missing()

We use `test_must_fail test -d` to ensure that the directory is removed.
However, test_must_fail() should only be used for git commands. Use
test_path_is_missing() instead to check that the directory has been
removed.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3030-merge-recursive.sh