From 874eaf9734cc10940e08f7b043652449e1e220b5 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 27 Dec 2018 12:03:00 +0100 Subject: Assorted spelling fixes. Mostly detected with the 'codespell' utility, but also includes some manual grammar fixes. --- tests/defaults/main_test.go | 2 +- tests/example_filesystems/example_filesystems_test.go | 2 +- tests/fuse-unmount.bash | 2 +- tests/reverse/correctness_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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" -- cgit v1.2.3