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 836ce2e2d23967140c30aaee95bcadba9b40cd3f..7b176539a1899e640342cf14f210a765fc1061e1 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}
        : '