mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
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:
parent
8278b7311d
commit
4c0d156042
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user