chiark / gitweb /
tests: drs-push-rejects: fix unexpected success msg
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Mar 2014 18:36:41 +0000 (18:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Mar 2014 18:36:41 +0000 (18:36 +0000)
tests/tests/drs-push-rejects

index 67e0dfb..fa3b530 100755 (executable)
@@ -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