summaryrefslogtreecommitdiff
path: root/tests
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
parent1d145be5a17df104a7c9260c7c93b9186688659e (diff)
Fix spelling mistakes found by misspell
https://github.com/client9/misspell
Diffstat (limited to 'tests')
-rw-r--r--tests/matrix/concurrency_test.go2
-rw-r--r--tests/test_helpers/mount_unmount.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/matrix/concurrency_test.go b/tests/matrix/concurrency_test.go
index 7fd3a00..205becb 100644
--- a/tests/matrix/concurrency_test.go
+++ b/tests/matrix/concurrency_test.go
@@ -82,7 +82,7 @@ func TestConcurrentReadCreate(t *testing.T) {
content := []byte("1234567890")
loops := 100
var wg sync.WaitGroup
- // "Creater" thread
+ // "Create()" thread
wg.Add(1)
go func() {
for i := 0; i < loops; i++ {
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 {