From 5fcfd30ddc144f39e47d4259151f633a34f0c082 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 26 Feb 2018 23:18:12 +0100 Subject: [PATCH] test.bash: disable result caching Go 1.10 has introduced test result caching and enabled it by default. This does not work properly for our integration tests because they test the compiled binary and do not have a source level dependency on the gocryptfs code. Disable caching. --- test.bash | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test.bash b/test.bash index 388ee9c..ec46d9b 100755 --- a/test.bash +++ b/test.bash @@ -38,8 +38,12 @@ else go tool vet -all -shadow . fi -# We don't want all the subprocesses holding the lock file open -go test ./... $* 200>&- +# We don't want all the subprocesses +# holding the lock file open +# vvvvv +go test -count 1 ./... $* 200>&- +# ^^^^^^^^ +# Disable result caching # The tests cannot to this themselves as they are run in parallel. # Don't descend into possibly still mounted example filesystems.