mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-28 15:56:33 +00:00
test btrfs tomb
This commit is contained in:
parent
117bd9bd6e
commit
963a0cc321
@ -27,4 +27,26 @@ if test_have_prereq DOAS; then
|
||||
'
|
||||
fi
|
||||
|
||||
if test_have_prereq BTRFS; then
|
||||
test_export "create_btrfs"
|
||||
test_expect_success 'Testing tomb creation using BTRFS filesystem' '
|
||||
tt_dig -s 50 &&
|
||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||
print $DUMMYPASS \
|
||||
| gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \
|
||||
| xxd &&
|
||||
tt_lock --tomb-pwd $DUMMYPASS --filesystem btrfs
|
||||
'
|
||||
|
||||
test_export "create_btrfsmixed"
|
||||
test_expect_success 'Testing tomb creation using BTRFS mixedmode filesystem' '
|
||||
tt_dig -s 20 &&
|
||||
tt_forge --tomb-pwd $DUMMYPASS &&
|
||||
print $DUMMYPASS \
|
||||
| gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \
|
||||
| xxd &&
|
||||
tt_lock --tomb-pwd $DUMMYPASS --filesystem btrfsmixedmode
|
||||
'
|
||||
fi
|
||||
|
||||
test_done
|
||||
|
@ -57,6 +57,7 @@ command -v cloakify > /dev/null && test_set_prereq CLOAKIFY
|
||||
command -v decloakify > /dev/null && test_set_prereq DECLOAKIFY
|
||||
command -v doas > /dev/null && test_set_prereq DOAS
|
||||
command -v argon2 > /dev/null && test_set_prereq ARGON2
|
||||
command -v mkfs.btrfs > /dev/null && test_set_prereq BTRFS
|
||||
|
||||
|
||||
# GnuPG config
|
||||
|
Loading…
Reference in New Issue
Block a user