diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-12-28 23:33:24 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-12-29 00:27:18 +0000 |
commit | 6d6a4bf4502dc8761596d195364070b2eebb4070 (patch) | |
tree | 626365d1358d2d335c96d81b3926bb42dcc49e43 | |
parent | 2a745169d73b0365fcbdc3ec24d07bf31dc00f0d (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-x | tests/tests/debpolicy-newreject | 7 |
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 |