From: Elijah Newren Date: Fri, 24 Sep 2010 22:22:53 GMT Subject: [RFC PATCHv2 13/16] t7001 (mv): add missing && Message-ID: <1285366976-22216-14-git-send-email-newren@gmail.com> In-Reply-To: <1285366976-22216-1-git-send-email-newren@gmail.com> FIXME: I believe the mv was meant to fail here so I added a test_must_fail; was that the right change? 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