From: Elijah Newren Date: Sat, 25 Sep 2010 19:07:03 GMT Subject: [PATCHv3 12/16] t7001 (mv): add missing && Message-ID: <1285441627-28233-13-git-send-email-newren@gmail.com> In-Reply-To: <1285441627-28233-1-git-send-email-newren@gmail.com> Also, prefix an expected-to-fail git mv command with 'test_must_fail'. Signed-off-by: Elijah Newren --- t/t7001-mv.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh index 65a35d9..624e6d2 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' -- 1.7.3.95.g14291