From 4e2094a4392bca0d4c5496eca584ec6fff53a4fe Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Fri, 12 Apr 2019 16:28:50 +0200 Subject: [PATCH] shutdown gpg-agent --- test/sync_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sync_test.py b/test/sync_test.py index 4c3f94b..4d6bca7 100644 --- a/test/sync_test.py +++ b/test/sync_test.py @@ -15,6 +15,7 @@ $ python3 sync_test.py import os +import sys import shutil import pathlib @@ -90,6 +91,9 @@ if __name__ == "__main__": options.clean = True if options.clean: + if sys.platform == "darwin" or sys.platform == "linux": + print("shutting down gpg-agent", file=sys.stderr) + os.system("killall gpg-agent") rmrf("TestInbox") rmrf("Phone") rmrf("Laptop")