test.bash: don't let the test process inherit the lock file
This meant that dangling mounts (and gocryptfs processes) kept the lock open.
This commit is contained in:
parent
3e4b29634a
commit
2643dd0ea5
|
@ -32,7 +32,8 @@ else
|
||||||
echo "\"go tool vet\" not available - skipping"
|
echo "\"go tool vet\" not available - skipping"
|
||||||
fi
|
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.
|
# The tests cannot to this themselves as they are run in parallel.
|
||||||
# Don't descend into possibly still mounted example filesystems.
|
# Don't descend into possibly still mounted example filesystems.
|
||||||
|
|
Loading…
Reference in New Issue