aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/gpg/gpg.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-05-24 15:12:17 -0500
committerRobin Jarry <robin@jarry.cc>2022-05-25 10:09:04 +0200
commit0cc992b4e3ed26c0f9f8dab94024985c87853a64 (patch)
tree6f790f1b09cca049208417f6af7d9e658355fc50 /lib/crypto/gpg/gpg.go
parent600913015d23a3d322ac10d6bbfde425e7f68606 (diff)
downloadaerc-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