chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: drs-push-rejects: fix unexpected success msg
[dgit.git]
/
tests
/
tests
/
drs-push-rejects
diff --git
a/tests/tests/drs-push-rejects
b/tests/tests/drs-push-rejects
index 67e0dfbea2c908355d020f8178f25cfa11d2a34a..fa3b53044b7d4d9ab10bbedd58787f808e310298 100755
(executable)
--- a/
tests/tests/drs-push-rejects
+++ b/
tests/tests/drs-push-rejects
@@
-26,7
+26,7
@@
mustfail () {
ps="${PIPESTATUS[*]}"
set -e
case $ps in
- "0 0") fail "push unexpectedly succeeded
: $*
" ;;
+ "0 0") fail "push unexpectedly succeeded
(instead of: $wantmsg)
" ;;
*" 0") ;;
*) fail "tee failed" ;;
esac