test_helpers: mark MountOrFatal as a Helper()
This commit is contained in:
parent
570e9baadf
commit
7c0363dee5
@ -117,6 +117,8 @@ func MountOrExit(c string, p string, extraArgs ...string) {
|
||||
// Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for
|
||||
// getting the master key) explicitly.
|
||||
func MountOrFatal(t *testing.T, c string, p string, extraArgs ...string) {
|
||||
t.Helper()
|
||||
|
||||
err := Mount(c, p, true, extraArgs...)
|
||||
if err != nil {
|
||||
t.Fatal(fmt.Errorf("mount failed: %v", err))
|
||||
|
Loading…
Reference in New Issue
Block a user