diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/README.md | 4 | ||||
-rw-r--r-- | tests/common | 2 | ||||
-rwxr-xr-x | tests/fsck-tests.sh | 2 | ||||
-rwxr-xr-x | tests/misc-tests.sh | 2 | ||||
-rwxr-xr-x | tests/misc-tests/007-subvolume-sync/test.sh | 4 | ||||
-rwxr-xr-x | tests/misc-tests/009-subvolume-sync-must-wait/test.sh | 2 | ||||
-rwxr-xr-x | tests/misc-tests/013-subvolume-sync-crash/test.sh | 2 | ||||
-rwxr-xr-x | tests/mkfs-tests.sh | 2 | ||||
-rwxr-xr-x | tests/mkfs-tests/008-secorsize-nodesize-combination/test.sh | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/tests/README.md b/tests/README.md index be3bda82..a5837479 100644 --- a/tests/README.md +++ b/tests/README.md @@ -20,7 +20,7 @@ category, eg. `fsck-tests-results.txt`. ## Selective testing -The test are prefixed by a number for ordering and uniquenes. To run a +The test are prefixed by a number for ordering and uniqueness. To run a particular test use: ```shell @@ -120,7 +120,7 @@ close to the purpose of your new test. * Use the highest unused number in the sequence, write a short descriptive title and join by dashes `-`. -* Write a short description of the bug and how it's teste to the comment at the +* Write a short description of the bug and how it's tested to the comment at the begining of `test.sh`. * Write the test commands, comment anything that's not obvious. diff --git a/tests/common b/tests/common index 91682eff..8a626b6a 100644 --- a/tests/common +++ b/tests/common @@ -90,7 +90,7 @@ run_mustfail() check_prereq() { if ! [ -f $TOP/$1 ]; then - _fail "Failed prerequisities: $1"; + _fail "Failed prerequisites: $1"; fi } diff --git a/tests/fsck-tests.sh b/tests/fsck-tests.sh index 2aab4ff2..fb861635 100755 --- a/tests/fsck-tests.sh +++ b/tests/fsck-tests.sh @@ -18,7 +18,7 @@ source $TOP/tests/common # Allow child test to use $TOP and $RESULTS export TOP export RESULTS -# For custom script needs to verfiy recovery +# For custom script needs to verify recovery export LANG rm -f $RESULTS diff --git a/tests/misc-tests.sh b/tests/misc-tests.sh index 2a7f57c5..0cf8c4b2 100755 --- a/tests/misc-tests.sh +++ b/tests/misc-tests.sh @@ -16,7 +16,7 @@ source $TOP/tests/common # Allow child test to use $TOP and $RESULTS export TOP export RESULTS -# For custom script needs to verfiy recovery +# For custom script needs to verify recovery export LANG # For tests that only use a loop device export IMAGE diff --git a/tests/misc-tests/007-subvolume-sync/test.sh b/tests/misc-tests/007-subvolume-sync/test.sh index a745fb56..243bb8cc 100755 --- a/tests/misc-tests/007-subvolume-sync/test.sh +++ b/tests/misc-tests/007-subvolume-sync/test.sh @@ -1,7 +1,7 @@ #!/bin/bash # test btrfs subvolume run normally with more than one subvolume # -# - btrfs subvolume must not loop indefinetelly +# - btrfs subvolume must not loop indefinitely # - btrfs subvolume return 0 in normal case source $TOP/tests/common @@ -16,7 +16,7 @@ run_check $SUDO_HELPER $TOP/mkfs.btrfs -f "$TEST_DEV" run_check_mount_test_dev # to check following thing in both 1 and multiple subvolume case: -# 1: is subvolume sync loop indefinetelly +# 1: is subvolume sync loop indefinitely # 2: is return value right # run_check $SUDO_HELPER $TOP/btrfs subvolume create "$TEST_MNT"/mysubvol1 diff --git a/tests/misc-tests/009-subvolume-sync-must-wait/test.sh b/tests/misc-tests/009-subvolume-sync-must-wait/test.sh index 056584e5..92c896f9 100755 --- a/tests/misc-tests/009-subvolume-sync-must-wait/test.sh +++ b/tests/misc-tests/009-subvolume-sync-must-wait/test.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Verify that subovolume sync waits until the subvolume is cleaned +# Verify that subvolume sync waits until the subvolume is cleaned source $TOP/tests/common diff --git a/tests/misc-tests/013-subvolume-sync-crash/test.sh b/tests/misc-tests/013-subvolume-sync-crash/test.sh index c7955269..4cb1b4e7 100755 --- a/tests/misc-tests/013-subvolume-sync-crash/test.sh +++ b/tests/misc-tests/013-subvolume-sync-crash/test.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Verify that subovolume sync waits until the subvolume is cleaned and does not +# Verify that subvolume sync waits until the subvolume is cleaned and does not # crash at the end source $TOP/tests/common diff --git a/tests/mkfs-tests.sh b/tests/mkfs-tests.sh index c0635ad1..363a865e 100755 --- a/tests/mkfs-tests.sh +++ b/tests/mkfs-tests.sh @@ -16,7 +16,7 @@ source $TOP/tests/common # Allow child test to use $TOP and $RESULTS export TOP export RESULTS -# For custom script needs to verfiy recovery +# For custom script needs to verify recovery export LANG # For tests that only use a loop device export IMAGE diff --git a/tests/mkfs-tests/008-secorsize-nodesize-combination/test.sh b/tests/mkfs-tests/008-secorsize-nodesize-combination/test.sh index 79cc2b22..151e7b77 100755 --- a/tests/mkfs-tests/008-secorsize-nodesize-combination/test.sh +++ b/tests/mkfs-tests/008-secorsize-nodesize-combination/test.sh @@ -34,7 +34,7 @@ do_test 8191 8191 && _fail # Invalid: Aligned sectorsize with unaligned nodesize do_test 4k 16385 && _fail -# Invalid: Ungliend sectorsize with aligned nodesize +# Invalid: Unaligned sectorsize with aligned nodesize do_test 8191 16k && _fail # Valid: Aligned sectorsize and nodesize |