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
/
t1501-sink.sh
diff --git
a/t/t1501-sink.sh
b/t/t1501-sink.sh
index 6af45fedff1536acc557f172c316c3650ccc0873..ac9e25d495ce81e3c01e1627b20608ceb7f1d5d8 100755
(executable)
--- a/
t/t1501-sink.sh
+++ b/
t/t1501-sink.sh
@@
-17,7
+17,7
@@
test_expect_success 'Initialize StGit stack' '
'
test_expect_success 'sink without applied patches' '
-
!
stg sink
+
command_error
stg sink
'
test_expect_success 'sink a specific patch without applied patches' '