From: Brandon Casey Date: Tue, 22 Jul 2008 21:16:54 GMT Subject: [PATCH] t3200,t7201: replace '!' with test_must_fail Message-ID: In-Reply-To: <0GfECozN3g0ZvAESKMi76RyOVHEb2OhhwET9GWmEm7pbzYQJub50UlWpZtBa7MGn1UGb-7mzbzE@cipher.nrlssc.navy.mil> Signed-off-by: Brandon Casey --- t/t3200-branch.sh | 2 +- t/t7201-co.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 7c583c8..7a83fbf 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -200,7 +200,7 @@ test_expect_success \ test_expect_success \ 'branch from non-branch HEAD w/--track causes failure' \ - '!(git branch --track my10 HEAD^)' + 'test_must_fail git branch --track my10 HEAD^' # Keep this test last, as it changes the current branch cat >expect <