summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-28 23:33:24 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-29 00:27:18 +0000
commit6d6a4bf4502dc8761596d195364070b2eebb4070 (patch)
tree626365d1358d2d335c96d81b3926bb42dcc49e43
parent2a745169d73b0365fcbdc3ec24d07bf31dc00f0d (diff)
tainted-objects: tests: Enhance debpolicy-newreject more
Test that the previously-rewound-from tainted object is found early, and can be overridden permanently. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xtests/tests/debpolicy-newreject7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject
index 05a0a4f..bc084ae 100755
--- a/tests/tests/debpolicy-newreject
+++ b/tests/tests/debpolicy-newreject
@@ -134,4 +134,11 @@ t-expect-push-fail-tainted \
'Reason: rewound suite sid; --deliberately-not-fast-forward specified' \
t-dgit --force-reusing-version push
+: "override the previous taint check"
+t-dgit --force-reusing-version push-source \
+ --deliberately-include-questionable-history
+
+t-commit 'Check taint is truly gone'
+t-dgit push-source
+
t-ok