From: Denton Liu Date: Thu, 26 Mar 2020 08:27:52 +0000 (-0400) Subject: t5607: reorder `nongit test_must_fail` X-Git-Tag: v2.27.0-rc0~134^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85db348895ff30dd933d0a58701c97d28f65ade1;p=thirdparty%2Fgit.git t5607: reorder `nongit test_must_fail` In the future, we plan on only allowing `test_must_fail` to work on a restricted subset of commands, including `git`. Reorder the commands so that `nongit` comes before `test_must_fail`. This way, `test_must_fail` operates on a git command. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano --- diff --git a/t/t5607-clone-bundle.sh b/t/t5607-clone-bundle.sh index 9108ff6fbd..6d5a977fcb 100755 --- a/t/t5607-clone-bundle.sh +++ b/t/t5607-clone-bundle.sh @@ -16,7 +16,7 @@ test_expect_success 'setup' ' test_expect_success '"verify" needs a worktree' ' git bundle create tip.bundle -1 master && - test_must_fail nongit git bundle verify ../tip.bundle 2>err && + nongit test_must_fail git bundle verify ../tip.bundle 2>err && test_i18ngrep "need a repository" err '