summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-08-08 16:31:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-08 17:52:55 (GMT)
commit9fd1080a2d0493c0cb5c7779709dc46b234f014f (patch)
treeb7a28c2affa4ebeb028d09b778c748839a00a3c2 /t
parent7e9055bb0062fa7163b55b56fdc7532a04685862 (diff)
downloadgit-9fd1080a2d0493c0cb5c7779709dc46b234f014f.zip
git-9fd1080a2d0493c0cb5c7779709dc46b234f014f.tar.gz
git-9fd1080a2d0493c0cb5c7779709dc46b234f014f.tar.bz2
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t7406-submodule-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh
index 24aa732..815b60c 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
)