summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2012-06-19 16:04:20 +0200
committerMilan Broz <gmazyland@gmail.com>2012-06-19 16:04:20 +0200
commit0ec4d4c9cf2bb3eb1055ee9fc2817654cb99d16c (patch)
tree5f64671640893dd6829b04fc922ed21f041449e5 /tests
parent28f860def2762bad7be578012a6422cff0f7705f (diff)
downloadcryptsetup-0ec4d4c9cf2bb3eb1055ee9fc2817654cb99d16c.tar.gz
cryptsetup-0ec4d4c9cf2bb3eb1055ee9fc2817654cb99d16c.tar.bz2
cryptsetup-0ec4d4c9cf2bb3eb1055ee9fc2817654cb99d16c.zip
Add directio to reenc test.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/reencryption-compat-test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/reencryption-compat-test b/tests/reencryption-compat-test
index 48056d5..fd983e6 100755
--- a/tests/reencryption-compat-test
+++ b/tests/reencryption-compat-test
@@ -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