chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test for specific exit code
[stgit]
/
t
/
t1001-branch-rename.sh
diff --git
a/t/t1001-branch-rename.sh
b/t/t1001-branch-rename.sh
index dd121326417434b127fd5a265d429f10670494dc..d5d3aefeab699a1c6648cfb36d0b912c31f92b96 100755
(executable)
--- a/
t/t1001-branch-rename.sh
+++ b/
t/t1001-branch-rename.sh
@@
-19,7
+19,7
@@
test_expect_success \
test_expect_success \
'Rename the current stgit branch' \
- '
!
stg branch -r foo bar
+ '
command_error
stg branch -r foo bar
'
test_expect_success \