summaryrefslogtreecommitdiff
path: root/tests/root_test/root_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-03-20 10:33:34 +0100
committerJakob Unterwurzacher2021-03-20 10:33:34 +0100
commit255a71c9179b9ad32587b20c41f81dc0b8cc3f44 (patch)
treec44357ac4c26defcf192e556a9a2f7c917ec2d0e /tests/root_test/root_test.go
parentf6036c429a35dff83bd01b3e867262cf7e8468ef (diff)
tests: MountOrFatal creates mnt dir itself
Allows to drop a few Mkdir()s.
Diffstat (limited to 'tests/root_test/root_test.go')
-rw-r--r--tests/root_test/root_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/root_test/root_test.go b/tests/root_test/root_test.go
index 079c03b..9a22add 100644
--- a/tests/root_test/root_test.go
+++ b/tests/root_test/root_test.go
@@ -191,10 +191,6 @@ func TestDiskFull(t *testing.T) {
// Mount gocryptfs
mnt := ext4mnt + "/b"
- err = os.Mkdir(mnt, 0600)
- if err != nil {
- t.Fatal(err)
- }
test_helpers.MountOrFatal(t, cipherdir, mnt, "-extpass", "echo test")
defer test_helpers.UnmountPanic(mnt)