From: Elijah Newren Date: Sun, 3 Oct 2010 20:00:10 +0000 (-0600) Subject: t7001 (mv): add missing && X-Git-Tag: v1.7.4-rc0~65^2~10 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a2b1e53b94e99fa88394b1317be478d5c5d864dc;p=git.git t7001 (mv): add missing && Also, prefix an expected-to-fail git mv command with 'test_must_fail'. Acked-by: Ævar Arnfjörð Bjarmason Reviewed-by: Jonathan Nieder Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh index 65a35d94a..624e6d25d 100755 --- a/t/t7001-mv.sh +++ b/t/t7001-mv.sh @@ -61,7 +61,7 @@ test_expect_success \ test_expect_success \ 'checking -f on untracked file with existing target' \ 'touch path0/untracked1 && - git mv -f untracked1 path0 + test_must_fail git mv -f untracked1 path0 && test ! -f .git/index.lock && test -f untracked1 && test -f path0/untracked1'