From: Elijah Newren Date: Wed, 8 Aug 2018 16:31:07 +0000 (-0700) Subject: t7406: avoid using test_must_fail for commands other than git X-Git-Tag: v2.19.0-rc0~31^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fd1080a2d0493c0cb5c7779709dc46b234f014f;p=git t7406: avoid using test_must_fail for commands other than git Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index 24aa732312..815b60cb59 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -606,7 +606,7 @@ test_expect_success 'submodule update - update=none in .git/config but --checkou git diff --name-only >out && ! grep ^submodule$ out && (cd submodule && - test_must_fail compare_head + ! compare_head ) && git config --unset submodule.submodule.update )