summaryrefslogtreecommitdiff
path: root/test/integration/run-tests
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-12-19 22:11:04 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-12-19 23:41:01 +0100
commita00fbbdb28cc31e78882301c2efe7218583ab4cb (patch)
tree2f8055ee820f2f9fb7fa773d3ce89d6944ac033f /test/integration/run-tests
parentd5961016ffa5e22f1997d94d797800796ddb613b (diff)
Use sq in the test suite, remove apt-key
Remove the test case for MD5 and expired signatures, as we can't create them (can't set signing digest, and can't set signature expiry). Tests for them have been added to test-method-gpgv instead. We override sq in a function with cert-store and key-store set to none. This supports both sq 0.40 and sq 1.0.
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-xtest/integration/run-tests10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests
index 331adfcfa..24d0cc00f 100755
--- a/test/integration/run-tests
+++ b/test/integration/run-tests
@@ -156,16 +156,6 @@ if [ -n "$APT_TEST_JOBS" ]; then
exit $((FAIL <= 255 ? FAIL : 255))
fi
-APT_TEST_SIGNINGHOME="$(mktemp --directory --tmpdir 'apt-key-signinghome.XXXXXXXXXX')"
-removesigninghome() {
- if [ -z "$APT_TEST_SIGNINGHOME" ]; then return; fi
- GNUPGHOME="${APT_TEST_SIGNINGHOME}" gpgconf --kill gpg-agent >/dev/null 2>&1 || true
- rm -rf -- "$APT_TEST_SIGNINGHOME"
-}
-trap "exit 1" 0 HUP INT ILL ABRT FPE SEGV PIPE TERM
-trap "removesigninghome" 0 QUIT
-export APT_TEST_SIGNINGHOME
-
TOTAL="$(echo "$TESTLIST" | wc -l)"
if [ "$MSGLEVEL" -le 1 ]; then
printf "${CTEST}Running testcases${CRESET}: "