From: Elijah Newren Date: Wed, 08 Aug 2018 16:31:07 GMT Subject: [PATCHv4 5/5] t7406: avoid using test_must_fail for commands other than git Message-ID: <20180808163107.12329-6-newren@gmail.com> In-Reply-To: <20180808163107.12329-1-newren@gmail.com> Signed-off-by: Elijah Newren --- t/t7406-submodule-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.18.0.556.g1604670984