From 146a5fd470b72ea0a034c1da808d78e08b203351 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jan 2018 13:56:42 +0000 Subject: test suite: gnupg setup: give each individual test its own AGENT.log This was always the intent. However, the structure here arranged to put the actual value of GNUPGHOME into the import script. Instead, move the GNUGPHOME setting into the setup fragment, which is evaluated by the importer. Signed-off-by: Ian Jackson --- tests/setup/gnupg | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/setup/gnupg b/tests/setup/gnupg index 43a5c96..9b4d099 100755 --- a/tests/setup/gnupg +++ b/tests/setup/gnupg @@ -6,18 +6,17 @@ mkdir -p $tmp/gnupg cp $troot/gnupg/* $tmp/gnupg chmod go-rw $tmp/gnupg/* -export GNUPGHOME=$tmp/gnupg +setup=' + export GNUPGHOME=$tmp/gnupg -cat >$tmp/gnupg/gpg-agent.conf <$tmp/gnupg/gpg-agent.conf <