projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d542045
)
Also test volume key mismatch for luksOpen.
author
Milan Broz
<mbroz@redhat.com>
Sat, 11 Feb 2012 10:40:17 +0000
(11:40 +0100)
committer
Milan Broz
<mbroz@redhat.com>
Sat, 11 Feb 2012 10:40:17 +0000
(11:40 +0100)
tests/compat-test
patch
|
blob
|
history
diff --git
a/tests/compat-test
b/tests/compat-test
index
5231173
..
6ecf311
100755
(executable)
--- a/
tests/compat-test
+++ b/
tests/compat-test
@@
-248,6
+248,7
@@
$CRYPTSETUP luksOpen -d $KEYE $LOOPDEV $DEV_NAME || fail
$CRYPTSETUP -q luksClose $DEV_NAME || fail
# open by volume key
echo "key0" | $CRYPTSETUP -q luksFormat -s 256 --master-key-file $KEY1 $LOOPDEV || fail
+$CRYPTSETUP luksOpen --master-key-file /dev/urandom $LOOPDEV $DEV_NAME 2>/dev/null && fail
$CRYPTSETUP luksOpen --master-key-file $KEY1 $LOOPDEV $DEV_NAME || fail
$CRYPTSETUP -q luksClose $DEV_NAME || fail