summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-10-04 18:01:41 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-10-04 18:01:41 +0200
commitf20750cb30baaf00ca1b87f2ae55e6a0eb900f2b (patch)
treedcb54b0125df797876036325233ffbcc3ef1796a /test
parent00b19b328c738954169c165aa6f734ade6962fa5 (diff)
export/import keys one-by-one
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-key-net-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-key-net-update b/test/integration/test-apt-key-net-update
index 66aafbbc4..710c02f61 100755
--- a/test/integration/test-apt-key-net-update
+++ b/test/integration/test-apt-key-net-update
@@ -18,10 +18,13 @@ eval "$func"
mkdir -p ./etc/apt
TRUSTEDFILE=./etc/apt/trusted.gpg
+mkdir -p ./var/lib/apt/keyrings
+TMP_KEYRING=./var/lib/apt/keyrings/maybe-import-keyring.gpg
GPG_CMD="gpg --ignore-time-conflict --no-options --no-default-keyring"
GPG="$GPG_CMD --keyring $TRUSTEDFILE"
MASTER_KEYRING=/usr/share/keyrings/ubuntu-master-keyring.gpg
+
msgtest "add_keys_with_verify_against_master_keyring"
if [ ! -e $MASTER_KEYRING ]; then
echo -n "No $MASTER_KEYRING found"