test: use gpgconf --create-socketdir if available
authorDavid Bremner <david@tethera.net>
Tue, 14 Feb 2017 21:42:39 +0000 (16:42 -0500)
committerDavid Bremner <david@tethera.net>
Tue, 21 Feb 2017 11:45:40 +0000 (07:45 -0400)
commite7b88e8b0a93ca83d807edc00e0c97af54c5b5f1
tree42bf00d6f1a0e71befcf3ffa266713a2bf070e7d
parent12f7d4e61d30fb9a5c99e128ab1aab0bf069cdb4
test: use gpgconf --create-socketdir if available

This enables the shortened socket pathes in /run or equivalent. The
explicit call to gpgconf is needed for nonstandard GNUPGHOME settings.

(amended according to id:m2fujatr4k.fsf@guru.guru-group.fi)
test/test-lib.sh