summaryrefslogtreecommitdiff
path: root/test/integration/test-releasefile-verification
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-03-04 11:07:14 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-03-04 11:07:51 +0100
commit991eb5025a35155e57005b2e2be38f66ec5dd1a4 (patch)
treeaaacabb34b3a64f3dd5fcedae7ba6859dccc5aff /test/integration/test-releasefile-verification
parent939aa53621fd6b884b1d3d48a7abc55bf6c16ca4 (diff)
Replace "GPG error" with "OpenPGP signature verification failed"
Reported-by: cacin on irc
Diffstat (limited to 'test/integration/test-releasefile-verification')
-rwxr-xr-xtest/integration/test-releasefile-verification4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification
index 00c72d7d9..1e54cf0d5 100755
--- a/test/integration/test-releasefile-verification
+++ b/test/integration/test-releasefile-verification
@@ -423,12 +423,12 @@ runtest2() {
msgmsg 'Cold archive signed by' 'Empty signature'
rm -rf rootdir/var/lib/apt/lists
find aptarchive -name Release -exec touch {}.gpg \;
- testfailuremsg "E: GPG error: http://localhost:${APTHTTPPORT} Release: Signed file isn't valid, got 'NODATA' (does the network require authentication?)" aptget update -o Debug::gpgv=1
+ testfailuremsg "E: OpenPGP signature verification failed: http://localhost:${APTHTTPPORT} Release: Signed file isn't valid, got 'NODATA' (does the network require authentication?)" aptget update -o Debug::gpgv=1
msgmsg 'Cold archive signed by' 'Unknown format signature'
rm -rf rootdir/var/lib/apt/lists
find aptarchive -name Release -exec sh -c "echo Hello > {}.gpg" \;
- testfailuremsg "E: GPG error: http://localhost:${APTHTTPPORT} Release: Signed file isn't valid, got 'NODATA' (does the network require authentication?)" aptget update
+ testfailuremsg "E: OpenPGP signature verification failed: http://localhost:${APTHTTPPORT} Release: Signed file isn't valid, got 'NODATA' (does the network require authentication?)" aptget update
find aptarchive/ \( -name InRelease -o -name Release.gpg \) -delete