btrfs-progs: tests: cli/003: add resize checks with 'max'
The 'max' keyword checks were missing. We care about correct parsing, not necessarily the exact result of the filesystem resize. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
88fc7becac
commit
d523a28a15
|
@ -49,6 +49,9 @@ for sep in '' '--'; do
|
|||
run_check $SUDO_HELPER "$TOP/btrfs" filesystem resize $sep 1:-128M "$TEST_MNT"
|
||||
run_check $SUDO_HELPER "$TOP/btrfs" filesystem resize $sep 1:512M "$TEST_MNT"
|
||||
run_check $SUDO_HELPER "$TOP/btrfs" filesystem resize $sep 1:+128M "$TEST_MNT"
|
||||
run_check $SUDO_HELPER "$TOP/btrfs" filesystem resize $sep max "$TEST_MNT"
|
||||
run_check $SUDO_HELPER "$TOP/btrfs" filesystem resize $sep -128M "$TEST_MNT"
|
||||
run_check $SUDO_HELPER "$TOP/btrfs" filesystem resize $sep 1:max "$TEST_MNT"
|
||||
done
|
||||
|
||||
run_check_umount_test_dev
|
||||
|
|
Loading…
Reference in New Issue