btrfs-progs: tests:mkfs/010: Output minimal device size

To make debugging a little easier.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Qu Wenruo 2018-01-24 10:38:30 +08:00 committed by David Sterba
parent 997f9977c2
commit e0d081b693
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ do_test()
good_size=$(echo "$output" | grep -oP "(?<=is )\d+")
prepare_test_dev "$good_size"
echo "Minimal device size is $good_size" >> "$RESULTS"
run_check $TOP/mkfs.btrfs -f $@ "$TEST_DEV"
run_check_mount_test_dev
run_check_umount_test_dev