fail "error message not found"
}
+t-expect-push-fail () {
+ local mpat="$1"; shift
+ t-reporefs pre-push
+ t-expect-fail "$mpat" "$@"
+ t-reporefs post-push
+ diff $tmp/show-refs.{pre,post}-push
+}
+
t-reporefs () {
local whichoutput=$1; shift
local outputfile="$tmp/show-refs.$whichoutput"