path: root/tests
diff options
authorJosh Soref <>2018-11-26 17:53:43 +0100
committerDavid Sterba <>2018-11-26 17:53:43 +0100
commit0509c05ae6bd7461964d3e483246aa07a63ee6d0 (patch)
tree62181fe61d431baf59a42f542f403261fae76918 /tests
parentbc729227898a033edf26322018abbdda2fed8eca (diff)
btrfs-progs: tests: fix typos in test comments
Generated by Issue: #154 Author: Josh Soref <> Signed-off-by: David Sterba <>
Diffstat (limited to 'tests')
6 files changed, 7 insertions, 7 deletions
diff --git a/tests/cli-tests/007-check-force/ b/tests/cli-tests/007-check-force/
index 597f2d60..deee96c8 100755
--- a/tests/cli-tests/007-check-force/
+++ b/tests/cli-tests/007-check-force/
@@ -10,7 +10,7 @@ check_prereq btrfs
# we need to use a real block device, because the check opens the device in
-# exclusive mode, that unfortunatelly behaves differently for direct file
+# exclusive mode, that unfortunately behaves differently for direct file
# access and for the real /dev/loop0 device
setup_loopdevs 1
diff --git a/tests/common b/tests/common
index 7e4e09df..1575ae38 100644
--- a/tests/common
+++ b/tests/common
@@ -171,7 +171,7 @@ run_check_stdout()
# same as run_check but does not fail the test if it's handled gracefully by
-# the tool, unexpected failure like segfault or abor will exit forcibly
+# the tool, unexpected failure like segfault or abort will exit forcibly
# output is logged
diff --git a/tests/fsck-tests/031-metadatadump-check-data-csum/ b/tests/fsck-tests/031-metadatadump-check-data-csum/
index e9b2d5c6..7f3872e6 100755
--- a/tests/fsck-tests/031-metadatadump-check-data-csum/
+++ b/tests/fsck-tests/031-metadatadump-check-data-csum/
@@ -1,5 +1,5 @@
-# To check if "btrfs check" can detect metadata dump (restored by btrfs-iamge)
+# To check if "btrfs check" can detect metadata dump (restored by btrfs-image)
# and ignore --check-data-csum option
source "$TEST_TOP/common"
@@ -21,7 +21,7 @@ chmod a+w restored_image
run_check $SUDO_HELPER "$TOP/btrfs-image" "$TEST_DEV" "restored_image"
# use prepare_test_dev() to wipe all existing data on $TEST_DEV
-# so there is no way that restored image could have mathcing data csum
+# so there is no way that restored image could have matching data csum
run_check $SUDO_HELPER "$TOP/btrfs-image" -r "restored_image" "$TEST_DEV"
diff --git a/tests/fsck-tests/036-rescan-not-kicked-in/ b/tests/fsck-tests/036-rescan-not-kicked-in/
index 82fa978e..eafd599d 100755
--- a/tests/fsck-tests/036-rescan-not-kicked-in/
+++ b/tests/fsck-tests/036-rescan-not-kicked-in/
@@ -4,7 +4,7 @@
# low probability.
# This test case verifies a special case when 'btrfs check' does not report
-# qgroup accounting differece as an error, thus no false alert for btrfs/166.
+# qgroup accounting difference as an error, thus no false alert for btrfs/166.
source "$TEST_TOP/common"
diff --git a/tests/misc-tests/006-image-on-missing-device/ b/tests/misc-tests/006-image-on-missing-device/
index 2b222340..8c81e6fb 100755
--- a/tests/misc-tests/006-image-on-missing-device/
+++ b/tests/misc-tests/006-image-on-missing-device/
@@ -1,7 +1,7 @@
# test btrfs-image with a missing device (uses loop devices)
-# - btrfs-image must not loop indefinetelly
+# - btrfs-image must not loop indefinitely
# - btrfs-image will expectedly fail to produce the dump
source "$TEST_TOP/common"
diff --git a/tests/misc-tests/029-send-p-different-mountpoints/ b/tests/misc-tests/029-send-p-different-mountpoints/
index 90465e1d..a59a585e 100755
--- a/tests/misc-tests/029-send-p-different-mountpoints/
+++ b/tests/misc-tests/029-send-p-different-mountpoints/
@@ -10,7 +10,7 @@ check_prereq mkfs.btrfs
-# we need two mount points, cannot nest the subvoolume under TEST_MNT
+# we need two mount points, cannot nest the subvolume under TEST_MNT