diff options
author | Milan Broz | 2017-10-24 10:21:29 +0200 |
---|---|---|
committer | Karel Zak | 2017-10-24 12:44:53 +0200 |
commit | 9ffd0bd66173b8fb8ea11fbedb61621267767b1c (patch) | |
tree | b4a8da8b72146867623272f2d4b72ce612a1ba7d /tests/expected/blkid | |
parent | blkid: Add support for LUKS2 and new LABEL attributes. (diff) | |
download | kernel-qcow2-util-linux-9ffd0bd66173b8fb8ea11fbedb61621267767b1c.tar.gz kernel-qcow2-util-linux-9ffd0bd66173b8fb8ea11fbedb61621267767b1c.tar.xz kernel-qcow2-util-linux-9ffd0bd66173b8fb8ea11fbedb61621267767b1c.zip |
tests: add LUKS test images
Testing image contains only the first 4k sector, so it is not valid,
but for blkid it should be enough.
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Diffstat (limited to 'tests/expected/blkid')
-rw-r--r-- | tests/expected/blkid/low-probe-luks1 | 5 | ||||
-rw-r--r-- | tests/expected/blkid/low-probe-luks2 | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/expected/blkid/low-probe-luks1 b/tests/expected/blkid/low-probe-luks1 new file mode 100644 index 000000000..073a852ad --- /dev/null +++ b/tests/expected/blkid/low-probe-luks1 @@ -0,0 +1,5 @@ +ID_FS_TYPE=crypto_LUKS +ID_FS_USAGE=crypto +ID_FS_UUID=e5f398d9-39da-4b6a-9ac3-e085a9394e7c +ID_FS_UUID_ENC=e5f398d9-39da-4b6a-9ac3-e085a9394e7c +ID_FS_VERSION=1 diff --git a/tests/expected/blkid/low-probe-luks2 b/tests/expected/blkid/low-probe-luks2 new file mode 100644 index 000000000..ea5f99c74 --- /dev/null +++ b/tests/expected/blkid/low-probe-luks2 @@ -0,0 +1,8 @@ +ID_FS_LABEL=tst_label +ID_FS_LABEL_ENC=tst_label +ID_FS_SUBSYSTEM=tst_subsys +ID_FS_TYPE=crypto_LUKS +ID_FS_USAGE=crypto +ID_FS_UUID=202265fe-9842-4c2d-ac9b-aba1b05deb63 +ID_FS_UUID_ENC=202265fe-9842-4c2d-ac9b-aba1b05deb63 +ID_FS_VERSION=2 |