mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: use source path in add_gnupg_home
Make a distinction between source and build directories.
This commit is contained in:
parent
d455c8b74a
commit
d7929d61a2
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ add_gnupg_home ()
|
|||
_gnupg_exit () { gpgconf --kill all 2>/dev/null || true; }
|
||||
at_exit_function _gnupg_exit
|
||||
mkdir -m 0700 "$GNUPGHOME"
|
||||
gpg --no-tty --import <$TEST_DIRECTORY/gnupg-secret-key.asc >"$GNUPGHOME"/import.log 2>&1
|
||||
gpg --no-tty --import <$NOTMUCH_SRCDIR/test/gnupg-secret-key.asc >"$GNUPGHOME"/import.log 2>&1
|
||||
test_debug "cat $GNUPGHOME/import.log"
|
||||
if (gpg --quick-random --version >/dev/null 2>&1) ; then
|
||||
echo quick-random >> "$GNUPGHOME"/gpg.conf
|
||||
|
|
Loading…
Reference in a new issue