Add directio to reenc test.

This commit is contained in:
Milan Broz
2012-06-19 16:04:20 +02:00
parent 28f860def2
commit 0ec4d4c9cf
2 changed files with 3 additions and 1 deletions

View File

@@ -99,6 +99,8 @@ echo "key0" | $REENC $LOOPDEV1 -q -s 256
check_hash "key0" $HASH1
echo "key0" | $REENC $LOOPDEV1 -q -s 256 -c aes-xts-plain64 -h sha256
check_hash "key0" $HASH1
echo "key0" | $REENC $LOOPDEV1 -q --use-directio
check_hash "key0" $HASH1
echo "[2] Reencryption with data shift"
echo "key0" | $CRYPTSETUP -q luksFormat -s 128 -i 1 --align-payload 2048 $LOOPDEV1 || fail