summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-key
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2018-09-09 21:36:07 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2018-09-10 21:57:51 +0200
commit8ca3544bcb5506bb5e07e4c750503e64271c1ff1 (patch)
treede07800212acf2a91fb80d8e80078edaaab91a20 /test/integration/test-apt-key
parentc4862d49bbc30c37f4fca966ac515692e26d93be (diff)
Don't use gpg directly in apt-key test
Reported-By: Guillem Jover <guillem@debian.org> Gbp-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-key')
-rwxr-xr-xtest/integration/test-apt-key2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-key b/test/integration/test-apt-key
index 1e2c8362b..d690a9026 100755
--- a/test/integration/test-apt-key
+++ b/test/integration/test-apt-key
@@ -192,7 +192,7 @@ gpg: unchanged: 1' aptkey --fakeroot update
${TESTSTATE} aptkey --fakeroot add "${KEYDIR}/marvin paránöid.pub.${EXT}"
testaptkeys 'Joe Sixpack' 'Marvin Paranoid'
cp -a "${ROOTDIR}/etc/apt/trusted.gpg" "${KEYDIR}/testcase-multikey.pub.gpg" # store for reuse
- gpg --no-default-keyring --keyring "${KEYDIR}/testcase-multikey.pub.gpg" --armor --export > "${KEYDIR}/testcase-multikey.pub.asc"
+ aptkey --keyring "${KEYDIR}/testcase-multikey.pub.gpg" export > "${KEYDIR}/testcase-multikey.pub.asc"
msgtest 'Test key removal with' 'multi key in real file'
cleanplate