diff options
author | Werner Koch <[email protected]> | 2013-08-19 09:35:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-08-19 09:35:06 +0000 |
commit | 0c5d3da96a72ab399a8ea6d21a292875980dfac0 (patch) | |
tree | ceebcba040f35170921fd64f205a40f9a9a3a031 | |
parent | gpgv: Init Libgcrypt to avoid syslog warning. (diff) | |
download | gnupg-0c5d3da96a72ab399a8ea6d21a292875980dfac0.tar.gz gnupg-0c5d3da96a72ab399a8ea6d21a292875980dfac0.zip |
tests: Make sure not to create files outside the build directory.
* tests/openpgp/Makefile.am (./gpg_dearmor): Add option --homedir.
--
The dearmor code might create files in the source directory during a
test run. Adding "--homedir ." should solve this.
GnuPG-bug-id: 1498.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | tests/openpgp/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/Makefile.am b/tests/openpgp/Makefile.am index 837298ddd..bd57e25e4 100644 --- a/tests/openpgp/Makefile.am +++ b/tests/openpgp/Makefile.am @@ -79,7 +79,7 @@ prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \ # start before all programs are built. ./gpg_dearmor: $(required_pgms) echo '#!/bin/sh' >./gpg_dearmor - echo "../../g10/gpg2 --no-options --no-greeting \ + echo "../../g10/gpg2 --homedir . --no-options --no-greeting \ --no-secmem-warning --batch --dearmor" >>./gpg_dearmor chmod 755 ./gpg_dearmor |