aboutsummaryrefslogtreecommitdiff
path: root/tests/normal/cli_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/normal/cli_test.go')
-rw-r--r--tests/normal/cli_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/normal/cli_test.go b/tests/normal/cli_test.go
index 4c634f2..ed3111b 100644
--- a/tests/normal/cli_test.go
+++ b/tests/normal/cli_test.go
@@ -17,7 +17,7 @@ func TestMain(m *testing.M) {
test_helpers.ResetTmpDir(false)
test_helpers.MountOrExit(test_helpers.DefaultCipherDir, test_helpers.DefaultPlainDir, "--zerokey")
r := m.Run()
- test_helpers.Unmount(test_helpers.DefaultPlainDir)
+ test_helpers.UnmountPanic(test_helpers.DefaultPlainDir)
os.Exit(r)
}
@@ -91,7 +91,7 @@ func TestRo(t *testing.T) {
dir := test_helpers.InitFS(t)
mnt := dir + ".mnt"
test_helpers.MountOrFatal(t, dir, mnt, "-ro", "-extpass=echo test")
- defer test_helpers.Unmount(mnt)
+ defer test_helpers.UnmountPanic(mnt)
file := mnt + "/file"
err := os.Mkdir(file, 0777)