summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a885fa)
raw | patch | inline | side by side (parent: 9a885fa)
author | Brandon Casey <casey@nrlssc.navy.mil> | |
Tue, 22 Jul 2008 21:16:54 +0000 (16:16 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 23 Jul 2008 18:35:23 +0000 (11:35 -0700) |
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh | patch | blob | history | |
t/t7201-co.sh | patch | blob | history |
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 7c583c8055627d6f3c4a18bcce9c04005e0514d5..7a83fbfe4f6b47dc5dbaa3df59c8633ae5c2c8f8 100755 (executable)
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
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 <<EOF
diff --git a/t/t7201-co.sh b/t/t7201-co.sh
index 3111baa9e38ecf96de6385dc9241ea8c992e4992..9ad5d635a2881c920fff8e524aea0ed931f68e6c 100755 (executable)
--- a/t/t7201-co.sh
+++ b/t/t7201-co.sh
git checkout -b delete-me master &&
rm .git/refs/heads/delete-me &&
test refs/heads/delete-me = "$(git symbolic-ref HEAD)" &&
- !(git checkout --track -b track)'
+ test_must_fail git checkout --track -b track'
test_done