60_resize.sh (532B)
1 #!/usr/bin/env zsh 2 3 export test_description="Testing tomb resize feature" 4 5 source ./setup 6 7 if test_have_prereq RESIZER; then 8 test_export "test" # Using already generated tomb 9 test_expect_success 'Testing resize to 30 MB tomb' ' 10 tt resize -s 30 $tomb -k $tomb_key --unsafe --tomb-pwd $DUMMYPASS 11 ' 12 13 test_export "recipient" # Using already generated tomb 14 test_expect_success 'Testing resize to 30 MB tomb with GnuPG keys' ' 15 tt resize -s 30 $tomb -k $tomb_key -g -r $KEY2 16 ' 17 fi 18 19 test_done