From: Ramkumar Ramachandra Date: Wed, 07 Dec 2011 19:36:44 GMT Subject: [PATCH 08/15] t3200 (branch): fix && chaining Message-ID: <1323286611-4806-9-git-send-email-artagnon@gmail.com> In-Reply-To: <1323286611-4806-1-git-send-email-artagnon@gmail.com> Signed-off-by: Ramkumar Ramachandra --- t/t3200-branch.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index bc73c20..7877290 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -22,7 +22,7 @@ test_expect_success \ test_expect_success \ 'git branch --help should not have created a bogus branch' ' - git branch --help /dev/null 2>/dev/null; + git branch --help /dev/null 2>/dev/null && test_path_is_missing .git/refs/heads/--help ' @@ -88,7 +88,7 @@ test_expect_success \ test_expect_success \ 'git branch -m n/n n should work' \ 'git branch -l n/n && - git branch -m n/n n + git branch -m n/n n && test_path_is_file .git/logs/refs/heads/n' test_expect_success 'git branch -m o/o o should fail when o/p exists' ' -- 1.7.7.3