aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/defaults/main_test.go2
-rw-r--r--tests/example_filesystems/example_filesystems_test.go2
-rwxr-xr-xtests/fuse-unmount.bash2
-rw-r--r--tests/reverse/correctness_test.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/defaults/main_test.go b/tests/defaults/main_test.go
index 3eae919..171b3be 100644
--- a/tests/defaults/main_test.go
+++ b/tests/defaults/main_test.go
@@ -47,7 +47,7 @@ func Test1980Tar(t *testing.T) {
// The sequence below caused an I/O error to be returned.
func TestOpenTruncateRead(t *testing.T) {
fn := test_helpers.DefaultPlainDir + "/TestTruncateWrite"
- // First FD is used for write and trucate.
+ // First FD is used for write and truncate.
writeFd, err := os.Create(fn)
if err != nil {
t.Fatal(err)
diff --git a/tests/example_filesystems/example_filesystems_test.go b/tests/example_filesystems/example_filesystems_test.go
index a7788e7..b1e0fda 100644
--- a/tests/example_filesystems/example_filesystems_test.go
+++ b/tests/example_filesystems/example_filesystems_test.go
@@ -316,7 +316,7 @@ func TestExampleFSv13MasterkeyStdin(t *testing.T) {
// gocryptfs v1.3 introduced HKDF.
// We check the md5 sum of the encrypted version of a file to make sure we don't
-// accidentially change the ciphertext generation.
+// accidentally change the ciphertext generation.
// Create a full crypto round-trip by mounting two times:
// dirA -> reverse mount -> dirB -> forward mount -> dirC
func TestExampleFSv13reverse(t *testing.T) {
diff --git a/tests/fuse-unmount.bash b/tests/fuse-unmount.bash
index 087b6fe..debae29 100755
--- a/tests/fuse-unmount.bash
+++ b/tests/fuse-unmount.bash
@@ -1,6 +1,6 @@
#!/bin/bash -eu
#
-# Compatability wrapper around "fusermount" on Linux and "umount" on
+# Compatibility wrapper around "fusermount" on Linux and "umount" on
# Mac OS X and friends.
#
# This script can be sourced or executed directly.
diff --git a/tests/reverse/correctness_test.go b/tests/reverse/correctness_test.go
index 246936b..931be42 100644
--- a/tests/reverse/correctness_test.go
+++ b/tests/reverse/correctness_test.go
@@ -171,7 +171,7 @@ func TestAccess(t *testing.T) {
}
}
-// Opening a nonexistant file name should return ENOENT
+// Opening a nonexistent file name should return ENOENT
// and not EBADMSG or EIO or anything else.
func TestEnoent(t *testing.T) {
fn := dirB + "/TestEnoent"