aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-30 00:57:14 +0200
committerJakob Unterwurzacher2016-06-30 00:57:14 +0200
commit02b6d3067d502bcc063965a5a9d75aa693125e1b (patch)
tree6b6df8eeac9017bc985de20fa3f8cf22466bad66 /test.bash
parentffc000943b33724b1df0db69af35123abb1331a8 (diff)
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
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash5
1 files changed, 5 insertions, 0 deletions
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 .