aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-01-03 17:40:20 +0100
committerJakob Unterwurzacher2017-01-03 17:40:20 +0100
commit2643dd0ea5913ef0dae89b60901ee3f6d5a19d57 (patch)
tree1c57ae6754136d568ea00829fa36f379d6d23f20 /test.bash
parent3e4b29634a80b0952d6eaa46fd3dbb9827bc81c4 (diff)
test.bash: don't let the test process inherit the lock file
This meant that dangling mounts (and gocryptfs processes) kept the lock open.
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash3
1 files changed, 2 insertions, 1 deletions
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.