aboutsummaryrefslogtreecommitdiff
path: root/tests/test_helpers/mount_unmount.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-05-10 00:25:49 +0200
committerJakob Unterwurzacher2020-05-10 00:25:49 +0200
commitead7008a08f9ace4591ebbc03e63fdc7ef37e502 (patch)
tree0cb34d38b9e390e410acd98d7c22bc1de205d73f /tests/test_helpers/mount_unmount.go
parent1d145be5a17df104a7c9260c7c93b9186688659e (diff)
Fix spelling mistakes found by misspell
https://github.com/client9/misspell
Diffstat (limited to 'tests/test_helpers/mount_unmount.go')
-rw-r--r--tests/test_helpers/mount_unmount.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_helpers/mount_unmount.go b/tests/test_helpers/mount_unmount.go
index 753ae1a..cdbdee8 100644
--- a/tests/test_helpers/mount_unmount.go
+++ b/tests/test_helpers/mount_unmount.go
@@ -28,7 +28,7 @@ type mountInfo struct {
// Creates "p" if it does not exist.
//
// Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for
-// getting the master key) explicitely.
+// getting the master key) explicitly.
func Mount(c string, p string, showOutput bool, extraArgs ...string) error {
args := []string{"-q", "-wpanic", "-nosyslog", "-fg", fmt.Sprintf("-notifypid=%d", os.Getpid())}
args = append(args, extraArgs...)
@@ -98,7 +98,7 @@ func Mount(c string, p string, showOutput bool, extraArgs ...string) error {
// MountOrExit calls Mount() and exits on failure.
//
// Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for
-// getting the master key) explicitely.
+// getting the master key) explicitly.
func MountOrExit(c string, p string, extraArgs ...string) {
err := Mount(c, p, true, extraArgs...)
if err != nil {
@@ -110,7 +110,7 @@ func MountOrExit(c string, p string, extraArgs ...string) {
// MountOrFatal calls Mount() and calls t.Fatal() on failure.
//
// Contrary to InitFS(), you MUST passt "-extpass=echo test" (or another way for
-// getting the master key) explicitely.
+// getting the master key) explicitly.
func MountOrFatal(t *testing.T, c string, p string, extraArgs ...string) {
err := Mount(c, p, true, extraArgs...)
if err != nil {