From 02b6d3067d502bcc063965a5a9d75aa693125e1b Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 30 Jun 2016 00:57:14 +0200 Subject: test: split up integration_tests ...into "matrix" and "normal". Also: * Make running multiple packages in parallel safe, see http://stackoverflow.com/questions/23715302/go-how-to-run-tests-for-multiple-packages * Don't depent on test_helper.TmpDir and friends to have a terminating slash --- test.bash | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test.bash') diff --git a/test.bash b/test.bash index c8f209a..2a565b7 100755 --- a/test.bash +++ b/test.bash @@ -8,4 +8,9 @@ source build.bash go test ./... $* +# Clean up after ourself, but don't descend into maybe still mounted +# example filesystems +# The tests cannot to this themselves as they are run in parallel +rm -Rf --one-file-system /tmp/gocryptfs-test-parent + go tool vet -shadow=true . -- cgit v1.2.3