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
/
t3000-dirty-merge.sh
diff --git
a/t/t3000-dirty-merge.sh
b/t/t3000-dirty-merge.sh
index d87bba17098ec24aaf79505f0c150c3f6b788fb4..4dd6da36af66730b3d5c412d83bfd51452432ae8 100755
(executable)
--- a/
t/t3000-dirty-merge.sh
+++ b/
t/t3000-dirty-merge.sh
@@
-26,7
+26,7
@@
test_expect_success 'Push with dirty worktree' '
echo 4 > a &&
[ "$(echo $(stg applied))" = "p1" ] &&
[ "$(echo $(stg unapplied))" = "p2" ] &&
-
!
stg goto p2 &&
+
conflict
stg goto p2 &&
[ "$(echo $(stg applied))" = "p1" ] &&
[ "$(echo $(stg unapplied))" = "p2" ] &&
[ "$(echo $(cat a))" = "4" ]