mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
Revert "test: use gpgconf --create-socketdir if available"
This reverts commit e7b88e8b0a
.
It turns out that this does not work well in environments without a
running systemd (or some other provider of /run/user)
This commit is contained in:
parent
c028ec8860
commit
5a42bb96c1
1 changed files with 0 additions and 14 deletions
|
@ -229,19 +229,10 @@ test_fixed=0
|
||||||
test_broken=0
|
test_broken=0
|
||||||
test_success=0
|
test_success=0
|
||||||
|
|
||||||
|
|
||||||
_shutdown_gpg_agent () {
|
|
||||||
if [ ${NOTMUCH_HAVE_GPGCONF_SOCKETDIR} = 1 ]; then
|
|
||||||
gpgconf --kill gpg-agent
|
|
||||||
gpgconf --remove-socketdir
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
_exit_common () {
|
_exit_common () {
|
||||||
code=$?
|
code=$?
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
set +ex
|
set +ex
|
||||||
_shutdown_gpg_agent
|
|
||||||
rm -rf "$TEST_TMPDIR"
|
rm -rf "$TEST_TMPDIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1285,11 +1276,6 @@ test_init_ () {
|
||||||
|
|
||||||
. ./test-lib-common.sh || exit 1
|
. ./test-lib-common.sh || exit 1
|
||||||
|
|
||||||
# we need the setting of GNUPGHOME in test-lib-common.sh
|
|
||||||
if [ ${NOTMUCH_HAVE_GPGCONF_SOCKETDIR} = 1 ]; then
|
|
||||||
gpgconf --create-socketdir
|
|
||||||
fi
|
|
||||||
|
|
||||||
emacs_generate_script
|
emacs_generate_script
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue