From: Ian Jackson Date: Sat, 16 May 2015 23:57:56 +0000 (+0100) Subject: Test suite: Provide t-rm-dput-dropping X-Git-Tag: debian/0.30~121 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=2ff2d292ee36d3b82ef5ebfbd62a761f05bfc980 Test suite: Provide t-rm-dput-dropping This is needed if tests reuse versions, which we are perhaps going to have to do to test out the replay prevention. --- diff --git a/tests/lib b/tests/lib index 836ce2e2..7b176539 100644 --- a/tests/lib +++ b/tests/lib @@ -199,6 +199,10 @@ t-git-dir-check () { esac } +t-rm-dput-dropping () { + rm -f $tmp/${p}_${v}_*.upload +} + t-dgit () { local dgit=${DGIT_TEST-dgit} : '