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/test_helpers/mount_unmount.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_helpers') diff --git a/tests/test_helpers/mount_unmount.go b/tests/test_helpers/mount_unmount.go index 70b403f..8ff2564 100644 --- a/tests/test_helpers/mount_unmount.go +++ b/tests/test_helpers/mount_unmount.go @@ -113,6 +113,7 @@ func MountOrExit(c string, p string, extraArgs ...string) { } // MountOrFatal calls Mount() and calls t.Fatal() on failure. +// Creates plaindir `p` if it does not exist. // // Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for // getting the master key) explicitly. -- cgit v1.2.3