t7406: avoid using test_must_fail for commands other than git

Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Aug 8, 2018 at 09:31 UTC 9fd1080a2d0493c0cb5c7779709dc46b234f014f
1 file changed +1 -1
t/t7406-submodule-update.sh
+1 -1
@@ -606,7 +606,7 @@ test_expect_success 'submodule update - update=none in .git/config but --checkou
606 git diff --name-only >out &&
607 ! grep ^submodule$ out &&
608 (cd submodule &&
609 - test_must_fail compare_head
609 + ! compare_head
610 ) &&
611 git config --unset submodule.submodule.update
612 )