summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-04-28 19:05:06 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-01 10:50:24 +0200
commitf13b413a3bb1f03886ba7d8c43b08bd13836a663 (patch)
tree4203c82dd7a56bb66c9b27457d5dca687da8ed48 /test
parentd622baeea4828b4bf62d939b7a4a7cd4051f78a5 (diff)
downloadapt-f13b413a3bb1f03886ba7d8c43b08bd13836a663.tar.gz
gpgv: use EXPKEYSIG instead of KEYEXPIRED
The upstream documentation says about KEYEXPIRED: "This status line is not very useful". Indeed, it doesn't mention which key is expired, and suggests to use the other message which does.
Diffstat (limited to 'test')
-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 c349c4428..10b830449 100755
--- a/test/integration/test-releasefile-verification
+++ b/test/integration/test-releasefile-verification
@@ -123,7 +123,7 @@ runtest() {
cp keys/rexexpired.pub rootdir/etc/apt/trusted.gpg.d/rexexpired.gpg
signreleasefiles 'Rex Expired'
find aptarchive/ -name "$DELETEFILE" -delete
- updatewithwarnings '^W: .* KEYEXPIRED'
+ updatewithwarnings '^W: .* EXPKEYSIG'
testsuccessequal "$(cat "${PKGFILE}")
" aptcache show apt
failaptold
@@ -172,7 +172,7 @@ runtest() {
cp keys/rexexpired.pub rootdir/etc/apt/trusted.gpg.d/rexexpired.gpg
signreleasefiles 'Rex Expired'
find aptarchive/ -name "$DELETEFILE" -delete
- updatewithwarnings '^W: .* KEYEXPIRED'
+ updatewithwarnings '^W: .* EXPKEYSIG'
testsuccessequal "$(cat "${PKGFILE}")
" aptcache show apt
installaptold