summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-17 00:57:56 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 12:58:16 +0100
commit2ff2d292ee36d3b82ef5ebfbd62a761f05bfc980 (patch)
tree4b6896af3d5e0d85256fa6ef6898b538192160d5 /tests
parentc894a960339b79c1c3754750211f1ddff8396cad (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/lib4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index 836ce2e..7b17653 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}
: '