summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-04-26 00:23:22 +0200
committerJulian Andres Klode <jak@debian.org>2025-05-06 10:12:31 +0000
commit3e261cb940955cadaff58e90a27af8dc882cb3b1 (patch)
treeebd7fda2c0d8495ed762d6652d4e3588a9bd28e8 /test/integration
parent477f32c18bcde4150dbfafc3cb6335ce177fc498 (diff)
test: Fix test-skipped regression in 3.0.1
There was an accidental exit in the if causing the test to exit early, but the test suite still to pass.
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-releasefile-verification5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification
index e15752482..f467eae7d 100755
--- a/test/integration/test-releasefile-verification
+++ b/test/integration/test-releasefile-verification
@@ -374,14 +374,13 @@ Signed-By: ${SEBASTIAN}" rootdir/var/lib/apt/lists/*Release
" aptcache show apt
installaptnew
- if test -e "${METHODSDIR}/sqv"; then
+ if [ -z "$GPGV" ] && test -e "${METHODSDIR}/sqv"; then
msgmsg 'Warm archive with ahead-policy-rejected subkey signing' 'Sebastian Subkey'
cat > sequoia.config << EOF
[asymmetric_algorithms]
rsa3072 = $(date +%Y-%m-%d --date="now + 6 months")
EOF
- APT_SEQUOIA_CRYPTO_POLICY=$PWD/sequoia.config updatewithwarnings "W: http://localhost:${APTHTTPPORT}/Release.gpg: Policy will reject signature within a year, see --audit for details"
- exit
+ APT_SEQUOIA_CRYPTO_POLICY=$PWD/sequoia.config updatewithwarnings "W: http://localhost:${APTHTTPPORT}/.*Release.*: Policy will reject signature within a year, see --audit for details"
fi
msgmsg 'Warm archive with wrong exact subkey signing' 'Sebastian Subkey'