btrfs-progs: tests: mkfs/023, use option -O for free-space-tree

The option -O now allows to set all features at mkfs time, use it.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-04-14 17:48:41 +02:00
parent 7f0d756083
commit 5a0398bac5

View File

@ -9,7 +9,7 @@ check_prereq btrfs
setup_root_helper
prepare_test_dev
run_check_mkfs_test_dev -R free-space-tree
run_check_mkfs_test_dev -O free-space-tree
run_check_stdout $SUDO_HELPER "$TOP/btrfs" inspect-internal dump-super "$TEST_DEV" | \
grep -q FREE_SPACE_TREE || _fail "free space tree not created"