1 |
commit: 4551aa7c34b13bf71359d288cd2bee39eed61590 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 25 14:24:16 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 25 14:24:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=4551aa7c |
7 |
|
8 |
tests/qmanifest: attempt to verify gpg setup |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
tests/qmanifest/dotest | 4 ++++ |
13 |
tests/qmanifest/manifestp6.good | 5 +++++ |
14 |
2 files changed, 9 insertions(+) |
15 |
|
16 |
diff --git a/tests/qmanifest/dotest b/tests/qmanifest/dotest |
17 |
index c248cae..177a913 100755 |
18 |
--- a/tests/qmanifest/dotest |
19 |
+++ b/tests/qmanifest/dotest |
20 |
@@ -49,6 +49,10 @@ export HOME=$(mktemp -d) # for gnupg home |
21 |
cp -r "${ROOT}/.gnupg" "${HOME}/" |
22 |
# silence gpg warnings |
23 |
chmod -R og-rwx "${HOME}"/.gnupg |
24 |
+ |
25 |
+# sanity check |
26 |
+test p6 0 "gpg --list-keys | sed '1,2d'" |
27 |
+ |
28 |
# make it a fully valid tree |
29 |
rm testtree/my-cat/mypackage/unrecorded-file |
30 |
# drop ROOT, we'll work here in T |
31 |
|
32 |
diff --git a/tests/qmanifest/manifestp6.good b/tests/qmanifest/manifestp6.good |
33 |
new file mode 100644 |
34 |
index 0000000..6a392a3 |
35 |
--- /dev/null |
36 |
+++ b/tests/qmanifest/manifestp6.good |
37 |
@@ -0,0 +1,5 @@ |
38 |
+pub rsa2048 2019-05-24 [SC] |
39 |
+ 3D695C8C0F87966B62DC5AFCDCFABA8E07F52261 |
40 |
+uid [ultimate] Qmanifest Test Key |
41 |
+sub rsa2048 2019-05-24 [E] |
42 |
+ |