summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-29 23:57:46 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-10-01 17:35:22 -0400
commit39aa093d2e21f99bb90fa7aa7d3add3e3c32e589 (patch)
treea84da76b1d9dbe84d2350ae5146a5efc8a9a63ef
parent33cb6e9b2038b833d60668702fe194b9e352a3ab (diff)
test: librefetch: Use the common GPGKEY; don't create a new one
-rw-r--r--test/librefetch-test.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh
index d734b41..5ee5ba3 100644
--- a/test/librefetch-test.sh
+++ b/test/librefetch-test.sh
@@ -3,9 +3,6 @@
describe librefetch
. ./test-common.sh
-KEYSERVER=hkp://pool.sks-keyservers.net
-GPG="gpg --quiet --batch --no-tty --no-permission-warning --keyserver ${KEYSERVER}"
-
before() {
common_before
@@ -28,17 +25,6 @@ EOF
'MIRRORS=("phony://example.com/dir/")' \
'DOWNLOADER=/usr/bin/false' \
> "$XDG_CONFIG_HOME/libretools/librefetch.conf"
-
- printf '%s\n' \
- 'Key-Type: RSA' \
- 'Key-Length: 1024' \
- 'Key-Usage: sign' \
- 'Name-Real: Temporary LibreTools testsuite key' \
- 'Name-Email: libretools-test@localhost' \
- 'Expire-Date: 0' \
- '%no-protection' \
- '%commit' \
- | $GPG --gen-key 2>/dev/null
}
it_displays_help() {