btrfs-progs: tests: misc/019, use fssum

The fssum utility is now ready to use, test still passes.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2017-03-15 12:28:16 +01:00
parent b5d4b3cef3
commit 02947f4105
2 changed files with 3 additions and 4 deletions

View File

@ -276,7 +276,7 @@ test-fsck: btrfs btrfs-image btrfs-corrupt-block mkfs.btrfs
@echo " [TEST] fsck-tests.sh" @echo " [TEST] fsck-tests.sh"
$(Q)bash tests/fsck-tests.sh $(Q)bash tests/fsck-tests.sh
test-misc: btrfs btrfs-image btrfs-corrupt-block mkfs.btrfs btrfstune test-misc: btrfs btrfs-image btrfs-corrupt-block mkfs.btrfs btrfstune fssum
@echo " [TEST] misc-tests.sh" @echo " [TEST] misc-tests.sh"
$(Q)bash tests/misc-tests.sh $(Q)bash tests/misc-tests.sh

View File

@ -5,17 +5,16 @@
# have an entry with the same name that corresponds to different inodes in each # have an entry with the same name that corresponds to different inodes in each
# snapshot. # snapshot.
# temporary, until the test gets adapted
FSSUM_PROG=/bin/true
source $TOP/tests/common source $TOP/tests/common
check_prereq mkfs.btrfs check_prereq mkfs.btrfs
check_prereq btrfs check_prereq btrfs
check_prereq fssum
setup_root_helper setup_root_helper
prepare_test_dev prepare_test_dev
FSSUM_PROG="$TOP/fssum"
srcdir=./send-test-dir srcdir=./send-test-dir
rm -rf "$srcdir" rm -rf "$srcdir"
mkdir -p "$srcdir" mkdir -p "$srcdir"