From 2643dd0ea5913ef0dae89b60901ee3f6d5a19d57 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 3 Jan 2017 17:40:20 +0100 Subject: [PATCH] test.bash: don't let the test process inherit the lock file This meant that dangling mounts (and gocryptfs processes) kept the lock open. --- test.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.bash b/test.bash index 1f90b88..4ca50ef 100755 --- a/test.bash +++ b/test.bash @@ -32,7 +32,8 @@ else echo "\"go tool vet\" not available - skipping" fi -go test ./... $* +# We don't want all the subprocesses holding the lock file open +go test ./... $* 200>&- # The tests cannot to this themselves as they are run in parallel. # Don't descend into possibly still mounted example filesystems.