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
/
t1301-repair.sh
diff --git
a/t/t1301-repair.sh
b/t/t1301-repair.sh
index b555b93ac11c38393d68de68a3bea142394bde43..33f8f6d0986a43291efec66677d3e160011a1121 100755
(executable)
--- a/
t/t1301-repair.sh
+++ b/
t/t1301-repair.sh
@@
-5,7
+5,7
@@
test_description='Test the repair command.'
test_expect_success \
'Repair in a non-initialized repository' \
- '
!
stg repair'
+ '
command_error
stg repair'
test_expect_success \
'Initialize the StGIT repository' \