summaryrefslogtreecommitdiff
path: root/test/integration/test-releasefile-verification
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-03-04 10:29:43 +0000
committerJulian Andres Klode <jak@debian.org>2025-03-04 10:29:43 +0000
commit8dcfb1237aa16247fbe038b818d875a92a1d3c1a (patch)
treeaaacabb34b3a64f3dd5fcedae7ba6859dccc5aff /test/integration/test-releasefile-verification
parent939aa53621fd6b884b1d3d48a7abc55bf6c16ca4 (diff)
parent991eb5025a35155e57005b2e2be38f66ec5dd1a4 (diff)
Merge branch 'no-gpg-error' into 'main'
Replace "GPG error" with "OpenPGP signature verification failed" See merge request apt-team/apt!455
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