From 255a71c9179b9ad32587b20c41f81dc0b8cc3f44 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 20 Mar 2021 10:33:34 +0100 Subject: tests: MountOrFatal creates mnt dir itself Allows to drop a few Mkdir()s. --- tests/root_test/root_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/root_test/root_test.go') 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) -- cgit v1.2.3