aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Lackner2018-12-27 12:03:00 +0100
committerrfjakob2018-12-27 15:19:55 +0100
commit874eaf9734cc10940e08f7b043652449e1e220b5 (patch)
tree1d58848741a2a78426b412fab51b22ee997d9f12 /tests
parent4c2ff26457471cd36b25c29fb3f982b27002ce3c (diff)
Assorted spelling fixes.
Mostly detected with the 'codespell' utility, but also includes some manual grammar fixes.
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"