btrfs-progs: tests: fix typos in test comments

Generated by https://github.com/jsoref/spelling

Issue: #154
Author: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Josh Soref 2018-11-26 17:53:43 +01:00 committed by David Sterba
parent bc72922789
commit 0509c05ae6
6 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ check_prereq btrfs
setup_root_helper
# 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
prepare_loopdevs

View File

@ -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
run_mayfail()
{

View File

@ -1,5 +1,5 @@
#!/bin/bash
# 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
prepare_test_dev
run_check $SUDO_HELPER "$TOP/btrfs-image" -r "restored_image" "$TEST_DEV"

View File

@ -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"

View File

@ -1,7 +1,7 @@
#!/bin/bash
# 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"

View File

@ -10,7 +10,7 @@ check_prereq mkfs.btrfs
setup_root_helper
prepare_test_dev
# we need two mount points, cannot nest the subvoolume under TEST_MNT
# we need two mount points, cannot nest the subvolume under TEST_MNT
SUBVOL_MNT="$TEST_MNT/subvol"
TOPLEVEL_MNT="$TEST_MNT/toplevel"
TEST_MNT="$TOPLEVEL_MNT"