diff --git a/extras/test/00_create.sh b/extras/test/00_create.sh index ca0c453..5794af9 100644 --- a/extras/test/00_create.sh +++ b/extras/test/00_create.sh @@ -30,7 +30,7 @@ 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_dig -s 120 && tt_forge --tomb-pwd $DUMMYPASS && print $DUMMYPASS \ | gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \ diff --git a/tomb b/tomb index db22c8f..a86f72b 100755 --- a/tomb +++ b/tomb @@ -2072,15 +2072,15 @@ lock_tomb_with_key() { ext3|ext4) ;; ext3maxinodes|ext4maxinodes) ;; btrfs) - if [[ $tombsize -lt 49283072 ]]; then - _failure "Filesystem ::1 filesystem:: not supported on tombs smaller than 47MB." \ - $filesystem + if [[ $tombsize -lt 114294784 ]]; then + _failure "Filesystem ::1 filesystem:: not supported on tombs smaller than ::2 size::" \ + $filesystem "114MB" fi ;; btrfsmixedmode) if [[ $tombsize -lt 18874368 ]]; then - _failure "Filesystem ::1 filesystem:: not supported on tombs smaller than 18MB." \ - $filesystem + _failure "Filesystem ::1 filesystem:: not supported on tombs smaller than ::2 size::" \ + $filesystem "18MB" fi ;; *)