summaryrefslogtreecommitdiffstats
path: root/tests/expected/blkid
diff options
context:
space:
mode:
authorMilan Broz2017-10-24 10:21:29 +0200
committerKarel Zak2017-10-24 12:44:53 +0200
commit9ffd0bd66173b8fb8ea11fbedb61621267767b1c (patch)
treeb4a8da8b72146867623272f2d4b72ce612a1ba7d /tests/expected/blkid
parentblkid: Add support for LUKS2 and new LABEL attributes. (diff)
downloadkernel-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-luks15
-rw-r--r--tests/expected/blkid/low-probe-luks28
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