diff options
Diffstat (limited to 'tests/defaults/main_test.go')
-rw-r--r-- | tests/defaults/main_test.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/defaults/main_test.go b/tests/defaults/main_test.go new file mode 100644 index 0000000..a623c48 --- /dev/null +++ b/tests/defaults/main_test.go @@ -0,0 +1,17 @@ +// Tests and benchmarks performed with default settings only. +package defaults + +import ( + "os" + "testing" + + "github.com/rfjakob/gocryptfs/tests/test_helpers" +) + +func TestMain(m *testing.M) { + test_helpers.ResetTmpDir(true) + test_helpers.MountOrExit(test_helpers.DefaultCipherDir, test_helpers.DefaultPlainDir, "-zerokey") + r := m.Run() + test_helpers.UnmountPanic(test_helpers.DefaultPlainDir) + os.Exit(r) +} |