mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-25 22:27:34 +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
|
fi
|
||||||
|
|
||||||
if test_have_prereq BTRFS; then
|
if test_have_prereq BTRFS; then
|
||||||
test_export "create_btrfs"
|
test_export "btrfs"
|
||||||
test_expect_success 'Testing tomb creation using BTRFS filesystem' '
|
test_expect_success 'Testing tomb creation using BTRFS filesystem' '
|
||||||
tt_dig -s 120 &&
|
tt_dig -s 120 &&
|
||||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||||
@ -38,7 +38,7 @@ if test_have_prereq BTRFS; then
|
|||||||
tt_lock --tomb-pwd $DUMMYPASS --filesystem btrfs
|
tt_lock --tomb-pwd $DUMMYPASS --filesystem btrfs
|
||||||
'
|
'
|
||||||
|
|
||||||
test_export "create_btrfsmixed"
|
test_export "btrfsmixed"
|
||||||
test_expect_success 'Testing tomb creation using BTRFS mixedmode filesystem' '
|
test_expect_success 'Testing tomb creation using BTRFS mixedmode filesystem' '
|
||||||
tt_dig -s 20 &&
|
tt_dig -s 20 &&
|
||||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||||
|
@ -18,4 +18,16 @@ if test_have_prereq RESIZER; then
|
|||||||
|
|
||||||
fi # RESIZER
|
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
|
test_done
|
||||||
|
Loading…
Reference in New Issue
Block a user