summaryrefslogtreecommitdiff
path: root/tests/tests/drs-push-rejects
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-06-07 14:24:19 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-06-10 18:28:55 +0100
commitf97a00d63b1d302cb23c5ffb090efea80fd8d42f (patch)
tree62b753e5701c302c6b0e38f8318f705200a556bf /tests/tests/drs-push-rejects
parent5d8e32854c1d89e337bc606d423634a667f9b0ff (diff)
Test suite: Make t-expect-push-fail out of the remains of mustfail
Diffstat (limited to 'tests/tests/drs-push-rejects')
-rwxr-xr-xtests/tests/drs-push-rejects9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects
index 13567c3..e80620d 100755
--- a/tests/tests/drs-push-rejects
+++ b/tests/tests/drs-push-rejects
@@ -12,13 +12,8 @@ cd $p
mustfail () {
local mpat="$1"; shift
- t-reporefs pre-push
-
- t-expect-fail "$mpat" \
- git push origin "$@" 2>&1 |tee $tmp/mustfail.txt
-
- t-reporefs post-push
- diff $tmp/show-refs.{pre,post}-push
+ t-expect-push-fail "$mpat" \
+ git push origin "$@"
}
mustsucceed () {