diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-05-25 16:24:16 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-05-25 16:24:16 +0200 |
commit | 4551aa7c34b13bf71359d288cd2bee39eed61590 (patch) | |
tree | be0daf0d085432237946daa98610175f7469334c /tests | |
parent | travis: try to install gnupg (diff) | |
download | portage-utils-4551aa7c34b13bf71359d288cd2bee39eed61590.tar.gz portage-utils-4551aa7c34b13bf71359d288cd2bee39eed61590.tar.bz2 portage-utils-4551aa7c34b13bf71359d288cd2bee39eed61590.zip |
tests/qmanifest: attempt to verify gpg setup
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/qmanifest/dotest | 4 | ||||
-rw-r--r-- | tests/qmanifest/manifestp6.good | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/qmanifest/dotest b/tests/qmanifest/dotest index c248cae2..177a9134 100755 --- a/tests/qmanifest/dotest +++ b/tests/qmanifest/dotest @@ -49,6 +49,10 @@ export HOME=$(mktemp -d) # for gnupg home cp -r "${ROOT}/.gnupg" "${HOME}/" # silence gpg warnings chmod -R og-rwx "${HOME}"/.gnupg + +# sanity check +test p6 0 "gpg --list-keys | sed '1,2d'" + # make it a fully valid tree rm testtree/my-cat/mypackage/unrecorded-file # drop ROOT, we'll work here in T diff --git a/tests/qmanifest/manifestp6.good b/tests/qmanifest/manifestp6.good new file mode 100644 index 00000000..6a392a37 --- /dev/null +++ b/tests/qmanifest/manifestp6.good @@ -0,0 +1,5 @@ +pub rsa2048 2019-05-24 [SC] + 3D695C8C0F87966B62DC5AFCDCFABA8E07F52261 +uid [ultimate] Qmanifest Test Key +sub rsa2048 2019-05-24 [E] + |