mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-10 23:20:57 +00:00
test btrfs tomb resize
This commit is contained in:
parent
b7fa057e48
commit
447817de6c
@ -28,7 +28,7 @@ if test_have_prereq DOAS; then
|
||||
fi
|
||||
|
||||
if test_have_prereq BTRFS; then
|
||||
test_export "create_btrfs"
|
||||
test_export "btrfs"
|
||||
test_expect_success 'Testing tomb creation using BTRFS filesystem' '
|
||||
tt_dig -s 120 &&
|
||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||
@ -38,7 +38,7 @@ if test_have_prereq BTRFS; then
|
||||
tt_lock --tomb-pwd $DUMMYPASS --filesystem btrfs
|
||||
'
|
||||
|
||||
test_export "create_btrfsmixed"
|
||||
test_export "btrfsmixed"
|
||||
test_expect_success 'Testing tomb creation using BTRFS mixedmode filesystem' '
|
||||
tt_dig -s 20 &&
|
||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||
|
@ -18,4 +18,16 @@ if test_have_prereq RESIZER; then
|
||||
|
||||
fi # RESIZER
|
||||
|
||||
if test_have_prereq BTRFS; then
|
||||
test_export "btrfs"
|
||||
test_expect_success 'Testing resize using BTRFS filesystem' '
|
||||
tt resize -s 150 $tomb -k $tomb_key --unsafe --tomb-pwd $DUMMYPASS
|
||||
'
|
||||
|
||||
test_export "btrfsmixed"
|
||||
test_expect_success 'Testing resize using BTRFS filesystem' '
|
||||
tt resize -s 30 $tomb -k $tomb_key --unsafe --tomb-pwd $DUMMYPASS
|
||||
'
|
||||
fi
|
||||
|
||||
test_done
|
||||
|
Loading…
Reference in New Issue
Block a user