From 2ff2d292ee36d3b82ef5ebfbd62a761f05bfc980 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 May 2015 00:57:56 +0100 Subject: [PATCH] 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. --- tests/lib | 4 ++++ 1 file changed, 4 insertions(+) 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} : ' -- 2.30.2