diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-05-24 15:12:17 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-05-25 10:09:04 +0200 |
commit | 0cc992b4e3ed26c0f9f8dab94024985c87853a64 (patch) | |
tree | 6f790f1b09cca049208417f6af7d9e658355fc50 /lib/crypto/gpg/gpg.go | |
parent | 600913015d23a3d322ac10d6bbfde425e7f68606 (diff) | |
download | aerc-0cc992b4e3ed26c0f9f8dab94024985c87853a64.tar.gz |
gpg: refactor tests for macos compatibility
Refactor lib/crypto/gpg tests to facilitate unit test runs on macos.
Macos creates temporary directories with names too long to call
gpg-agent (108 characters). Additionally, too many concurrent test calls
created IPC errors to gpg-agent. To get around this, tests were given
shorter names and refactored into subtests to create fewer concurrent
tests
Tested on Linux and MacOS.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/crypto/gpg/gpg.go')
0 files changed, 0 insertions, 0 deletions