From f97a00d63b1d302cb23c5ffb090efea80fd8d42f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 7 Jun 2015 14:24:19 +0100 Subject: Test suite: Make t-expect-push-fail out of the remains of mustfail --- tests/tests/drs-push-rejects | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tests/tests/drs-push-rejects') 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 () { -- cgit v1.2.3