test: Increase disk size for dm-crypt LUKS test

Otherwise it fails with:

+ cryptsetup --key-file /etc/dm-crypt/key --cipher aes-cbc-essiv:sha256 luksFormat /dev/sda
+ cryptsetup --key-file /etc/dm-crypt/key luksOpen /dev/sda it_is_encrypted
Requested offset is beyond real size of device /dev/sda.
dm-crypt test suite FAILED

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
Rolf Neugebauer 2020-04-18 10:54:47 +01:00
parent 8278b7311d
commit 4c0d156042

View File

@ -19,7 +19,7 @@ trap clean_up EXIT
# Test code goes here
linuxkit build -format kernel+initrd -name ${NAME} test.yml
RESULT="$(linuxkit run -disk file=${DISK},size=8M ${NAME})"
RESULT="$(linuxkit run -disk file=${DISK},size=20M ${NAME})"
echo "${RESULT}"
echo "${RESULT}" | grep -q "suite PASSED"