mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54:23 +01:00
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 <wk@gnupg.org>
This commit is contained in:
parent
3966eb2445
commit
0c5d3da96a
@ -79,7 +79,7 @@ prepared.stamp: ./pubring.gpg ./secring.gpg ./plain-1 ./plain-2 ./plain-3 \
|
|||||||
# start before all programs are built.
|
# start before all programs are built.
|
||||||
./gpg_dearmor: $(required_pgms)
|
./gpg_dearmor: $(required_pgms)
|
||||||
echo '#!/bin/sh' >./gpg_dearmor
|
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
|
--no-secmem-warning --batch --dearmor" >>./gpg_dearmor
|
||||||
chmod 755 ./gpg_dearmor
|
chmod 755 ./gpg_dearmor
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user