diff options
author | James McCoy <jamessan@debian.org> | 2014-08-18 12:54:19 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-09-27 00:12:15 +0200 |
commit | 29f1b977100aeb6d6ebd38923eeb7a623e264ffe (patch) | |
tree | ebd2662f717fe4a9e66ee5b5a17827aa21efaeb7 /test/integration | |
parent | 1d240b5a2dd5a82283f7d0b7fe05b6f90222957c (diff) |
ensure apt-key del handles 16-byte key ids
The original patch does not apply against the rewritten apt-key,
but an additional test doesn't hurt.
Closes: 754436
Diffstat (limited to 'test/integration')
-rwxr-xr-x | test/integration/test-apt-key | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/test-apt-key b/test/integration/test-apt-key index 337b16a59..d5adec5bd 100755 --- a/test/integration/test-apt-key +++ b/test/integration/test-apt-key @@ -74,6 +74,14 @@ pub 2048R/DBAC8DAE 2010-08-18' testsuccess test ! -e rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg testsuccess cmp keys/joesixpack.pub rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg~ + msgtest 'Test key removal with' 'long key ID' + cleanplate + cp -a keys/joesixpack.pub rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg + testsuccess --nomsg aptkey --fakeroot del 5A90D141DBAC8DAE + testempty aptkey list + testsuccess test ! -e rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg + testsuccess cmp keys/joesixpack.pub rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg~ + msgtest 'Test key removal with' 'fingerprint' cleanplate cp -a keys/joesixpack.pub rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg |