aboutsummaryrefslogtreecommitdiffstats
path: root/tests/old-lacme
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-13 15:54:11 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-13 17:38:40 +0200
commit98e4397f5330245cb7f8a21054ab078c4d0bba82 (patch)
tree7dcfe835ee6b3f97e8e3db223c8c8340a4e243f1 /tests/old-lacme
parent83f4cabd85c240cd0f13fdd4c88266648eb0a90c (diff)
Fix test suite.
Since we don't pin staging intermediate certificates anymore we drop the test where the CA bundle contains only intermediates.
Diffstat (limited to 'tests/old-lacme')
-rw-r--r--tests/old-lacme9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/old-lacme b/tests/old-lacme
index b1c9f88..278a705 100644
--- a/tests/old-lacme
+++ b/tests/old-lacme
@@ -1,5 +1,6 @@
-# IPC test between recent lacme-accountd(1) and ancient lacme(8) 0.5 from Debian buster
-# (we don't try earlier versions as we need v2 support of the ACME API)
+# IPC test between recent lacme-accountd(1) and ancient lacme(8) 0.8 from Debian Bullseye
+# (we don't try earlier versions as we need v2 support of the ACME API
+# and non-pinned intermediates)
adduser --disabled-password \
--home /home/lacme-account \
@@ -14,12 +15,12 @@ cat >~lacme-account/.config/lacme/lacme-accountd.conf <<-EOF
privkey = file:/etc/lacme/account.key
EOF
-echo "deb http://deb.debian.org/debian buster main" >>/etc/apt/sources.list
+echo "deb http://deb.debian.org/debian bullseye main" >>/etc/apt/sources.list
DEBIAN_FRONTEND="noninteractive" apt update
DEBIAN_FRONTEND="noninteractive" apt install -y --no-install-recommends \
--reinstall --allow-downgrades \
-oDPkg::Options::="--force-confdef" -oDPkg::Options::="--force-overwrite" \
- lacme/buster
+ lacme/bullseye
# restore staging environment
mv -f /usr/share/lacme/ca-certificates.crt.back /usr/share/lacme/ca-certificates.crt