[Pkg-gnupg-commit] [gpgme] 234/412: Qt: Fix tests if gpg2 is gpg
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit e4c0645c1eea9380d80a20895eb83c9dd7228776
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Jul 14 15:31:50 2016 +0200
Qt: Fix tests if gpg2 is gpg
* lang/qt/tests/Makefile.am (pubring-stamp): Loopback and provide
passphrase on command line when importing.
---
lang/qt/tests/Makefile.am | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index c49d85f..e2ded78 100644
--- a/lang/qt/tests/Makefile.am
+++ b/lang/qt/tests/Makefile.am
@@ -59,7 +59,8 @@ noinst_PROGRAMS = t-keylist t-keylocate t-ownertrust t-tofuinfo
CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
gpg-agent.conf pubring.kbx~ S.gpg-agent gpg.conf pubring.gpg~ \
- random_seed S.gpg-agent .gpg-v21-migrated pubring-stamp $(moc_files)
+ random_seed S.gpg-agent .gpg-v21-migrated pubring-stamp $(moc_files) \
+ gpg.conf
clean-local:
-rm -fR -- private-keys-v1.d
@@ -68,9 +69,14 @@ export GNUPGHOME := $(abs_builddir)
./pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \
$(top_srcdir)/tests/gpg/secdemo.asc
+ echo "ignore-invalid-options" > gpg-agent.conf
+ echo "allow-loopback-pinentry" > gpg-agent.conf
+ echo "ignore-invalid-options" > gpg.conf
+ echo "pinentry-mode loopback" > gpg.conf
$(GPG) --no-permission-warning \
--import $(top_srcdir)/tests/gpg/pubdemo.asc
$(GPG) --no-permission-warning \
+ --passphrase "abc" \
--import $(top_srcdir)/tests/gpg/secdemo.asc
touch ./pubring-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list