aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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 {