diff options
| author | Werner Koch <[email protected]> | 2016-09-20 17:51:02 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2016-09-20 17:51:02 +0000 | 
| commit | bfb6890ded99f040fe8ecf910f927a136e4acfda (patch) | |
| tree | b41852f4f30382595afa8381b55287fa02d9e027 /lang/python/tests | |
| parent | tests: Improve portability. (diff) | |
| download | gpgme-bfb6890ded99f040fe8ecf910f927a136e4acfda.tar.gz gpgme-bfb6890ded99f040fe8ecf910f927a136e4acfda.zip | |
tests: Use --batch for gpg import.
* lang/python/tests/Makefile.am (./pubring-stamp): Use --batch with
GPG to avoid Pinentries during import when using GnuPG >= 2.1.
Replace touch by echo.
* tests/gpg/Makefile.am (./pubring-stamp): Ditto.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
| -rw-r--r-- | lang/python/tests/Makefile.am | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am index 6a315d7c..0538e54f 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -100,11 +100,11 @@ initial.py: check-local  	echo x > ./private-keys-v1.d/gpg-sample.stamp  ./pubring-stamp: $(test_srcdir)/pubdemo.asc -	$(GPG) --no-permission-warning \ +	$(GPG) --batch --no-permission-warning \                 --import $(test_srcdir)/pubdemo.asc -	-$(GPG) --no-permission-warning \ +	-$(GPG) --batch --no-permission-warning \  		--import $(test_srcdir)/secdemo.asc -	touch ./pubring-stamp +	echo x > ./pubring-stamp  ./gpg.conf:  # This is required for t-sig-notations. | 
