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. diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index e1c033bf..98778438 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -89,11 +89,11 @@ export GPG_AGENT_INFO := echo x > ./private-keys-v1.d/gpg-sample.stamp ./pubring-stamp: $(srcdir)/pubdemo.asc - $(GPG) --no-permission-warning \ + $(GPG) --batch --no-permission-warning \ --import $(srcdir)/pubdemo.asc - -$(GPG) --no-permission-warning \ + -$(GPG) --batch --no-permission-warning \ --import $(srcdir)/secdemo.asc - touch ./pubring-stamp + echo x > ./pubring-stamp ./gpg.conf: # This is required for t-sig-notations.