git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3706ed2
)
t3200: add test case for 'branch -m'
author
Stefan Naewe
<redacted>
Wed, 2 Nov 2011 15:07:05 +0000
(16:07 +0100)
committer
Junio C Hamano
<redacted>
Wed, 2 Nov 2011 19:36:56 +0000
(12:36 -0700)
Signed-off-by: Stefan Naewe <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3200-branch.sh
patch
|
blob
|
history
diff --git
a/t/t3200-branch.sh
b/t/t3200-branch.sh
index 2f5eada0d2801c7bc99dbbbed4d7b0ff839f25b7..bc73c2099b5069ab136a1d93aef5a8ab4a0dad1f 100755
(executable)
--- a/
t/t3200-branch.sh
+++ b/
t/t3200-branch.sh
@@
-74,6
+74,11
@@
test_expect_success \
git branch -d l/m &&
git branch l'
+test_expect_success \
+ 'git branch -m dumps usage' \
+ 'test_expect_code 129 git branch -m 2>err &&
+ grep "[Uu]sage: git branch" err'
+
test_expect_success \
'git branch -m m m/m should work' \
'git branch -l m &&
git clone https://git.99rst.org/PROJECT