commit: b009f6e6e3218e80e79e7e01d21beb52ec09aa89
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 13:15:59 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat May 25 13:15:59 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=b009f6e6
tests/qmanifest: silence some gpg warnings about permissions
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
tests/qmanifest/dotest | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/qmanifest/dotest b/tests/qmanifest/dotest
index fb2aa22..9d28133 100755
--- a/tests/qmanifest/dotest
+++ b/tests/qmanifest/dotest
@@ -44,9 +44,12 @@ test 05 1 "qmanifest -o notatree"
# generate a valid tree
rm -Rf testtree
cp -r "${ROOT}/simpletree" testtree || echo try it anyway
-# make it a fully valid tree
export HOME=${ROOT} # for gnupg home
+# silence gpg warnings
+chmod -R og-rwx "${ROOT}"/.gnupg
+# make it a fully valid tree
rm testtree/my-cat/mypackage/unrecorded-file
+# drop ROOT, we'll work here in T
unset ROOT PORTAGE_CONFIGROOT
SIGNAS=0x3D695C8C0F87966B62DC5AFCDCFABA8E07F52261
KEYPASS=qmanifest