forked from Mirrors/btrfs-progs
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
parent
bc72922789
commit
0509c05ae6
|
@ -10,7 +10,7 @@ check_prereq btrfs
|
||||||
setup_root_helper
|
setup_root_helper
|
||||||
|
|
||||||
# we need to use a real block device, because the check opens the device in
|
# 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
|
# access and for the real /dev/loop0 device
|
||||||
setup_loopdevs 1
|
setup_loopdevs 1
|
||||||
prepare_loopdevs
|
prepare_loopdevs
|
||||||
|
|
|
@ -171,7 +171,7 @@ run_check_stdout()
|
||||||
}
|
}
|
||||||
|
|
||||||
# same as run_check but does not fail the test if it's handled gracefully by
|
# 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
|
# output is logged
|
||||||
run_mayfail()
|
run_mayfail()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/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
|
# and ignore --check-data-csum option
|
||||||
|
|
||||||
source "$TEST_TOP/common"
|
source "$TEST_TOP/common"
|
||||||
|
@ -21,7 +21,7 @@ chmod a+w restored_image
|
||||||
run_check $SUDO_HELPER "$TOP/btrfs-image" "$TEST_DEV" "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
|
# 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
|
prepare_test_dev
|
||||||
|
|
||||||
run_check $SUDO_HELPER "$TOP/btrfs-image" -r "restored_image" "$TEST_DEV"
|
run_check $SUDO_HELPER "$TOP/btrfs-image" -r "restored_image" "$TEST_DEV"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# low probability.
|
# low probability.
|
||||||
#
|
#
|
||||||
# This test case verifies a special case when 'btrfs check' does not report
|
# 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"
|
source "$TEST_TOP/common"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# test btrfs-image with a missing device (uses loop devices)
|
# 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
|
# - btrfs-image will expectedly fail to produce the dump
|
||||||
|
|
||||||
source "$TEST_TOP/common"
|
source "$TEST_TOP/common"
|
||||||
|
|
|
@ -10,7 +10,7 @@ check_prereq mkfs.btrfs
|
||||||
setup_root_helper
|
setup_root_helper
|
||||||
prepare_test_dev
|
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"
|
SUBVOL_MNT="$TEST_MNT/subvol"
|
||||||
TOPLEVEL_MNT="$TEST_MNT/toplevel"
|
TOPLEVEL_MNT="$TEST_MNT/toplevel"
|
||||||
TEST_MNT="$TOPLEVEL_MNT"
|
TEST_MNT="$TOPLEVEL_MNT"
|
||||||
|
|
Loading…
Reference in New Issue