Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t3200-branch: test -M
author
Michael J Gruber
<git@drmicha.warpmail.net>
Thu, 4 Dec 2014 13:26:44 +0000
(14:26 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 4 Dec 2014 20:10:52 +0000
(12:10 -0800)
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7fa1365
)
diff --git
a/t/t3200-branch.sh
b/t/t3200-branch.sh
index ac31b711f29139470308d9062fea33259cf004ab..c08aef4abddce082d9f5a24de7c047ade6c3c809 100755
(executable)
--- a/
t/t3200-branch.sh
+++ b/
t/t3200-branch.sh
@@
-97,6
+97,15
@@
test_expect_success 'git branch -m o/o o should fail when o/p exists' '
test_must_fail git branch -m o/o o
'
+test_expect_success 'git branch -m o/q o/p should fail when o/p exists' '
+ git branch o/q &&
+ test_must_fail git branch -m o/q o/p
+'
+
+test_expect_success 'git branch -M o/q o/p should work when o/p exists' '
+ git branch -M o/q o/p
+'
+
test_expect_success 'git branch -m q r/q should fail when r exists' '
git branch q &&
git branch r &&