chiark / gitweb /
Test suite: Provide t-rm-dput-dropping
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 May 2015 23:57:56 +0000 (00:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 31 May 2015 11:58:16 +0000 (12:58 +0100)
This is needed if tests reuse versions, which we are perhaps going to
have to do to test out the replay prevention.

tests/lib

index 836ce2e..7b17653 100644 (file)
--- 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}
        : '