]> err.no Git - util-linux/commitdiff
tests: add blkid regression tests for ISO9660
authorKarel Zak <kzak@redhat.com>
Thu, 24 Sep 2009 08:46:25 +0000 (10:46 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 24 Sep 2009 08:46:25 +0000 (10:46 +0200)
Note that Rock-Ridge detection is not supported yet.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/blkid/low-probe-iso [new file with mode: 0644]
tests/expected/blkid/low-probe-iso-joliet [new file with mode: 0644]
tests/expected/blkid/low-probe-iso-rr-joliet [new file with mode: 0644]
tests/ts/blkid/images-fs/iso-joliet.img.bz2 [new file with mode: 0644]
tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2 [new file with mode: 0644]
tests/ts/blkid/images-fs/iso.img.bz2 [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-iso b/tests/expected/blkid/low-probe-iso
new file mode 100644 (file)
index 0000000..31a5116
--- /dev/null
@@ -0,0 +1,4 @@
+ID_FS_LABEL_ENC=IsoVolumeName
+ID_FS_LABEL=IsoVolumeName
+ID_FS_TYPE=iso9660
+ID_FS_USAGE=filesystem
diff --git a/tests/expected/blkid/low-probe-iso-joliet b/tests/expected/blkid/low-probe-iso-joliet
new file mode 100644 (file)
index 0000000..4d21557
--- /dev/null
@@ -0,0 +1,5 @@
+ID_FS_LABEL_ENC=ThisWonderfulLabelIsVeryVeryLong
+ID_FS_LABEL=ThisWonderfulLabelIsVeryVeryLong
+ID_FS_TYPE=iso9660
+ID_FS_USAGE=filesystem
+ID_FS_VERSION=Joliet\x20Extension
diff --git a/tests/expected/blkid/low-probe-iso-rr-joliet b/tests/expected/blkid/low-probe-iso-rr-joliet
new file mode 100644 (file)
index 0000000..0b3acff
--- /dev/null
@@ -0,0 +1,5 @@
+ID_FS_LABEL_ENC=ThisIsVolumeName
+ID_FS_LABEL=ThisIsVolumeName
+ID_FS_TYPE=iso9660
+ID_FS_USAGE=filesystem
+ID_FS_VERSION=Joliet\x20Extension
diff --git a/tests/ts/blkid/images-fs/iso-joliet.img.bz2 b/tests/ts/blkid/images-fs/iso-joliet.img.bz2
new file mode 100644 (file)
index 0000000..4e43c0b
Binary files /dev/null and b/tests/ts/blkid/images-fs/iso-joliet.img.bz2 differ
diff --git a/tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2 b/tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2
new file mode 100644 (file)
index 0000000..97e8b76
Binary files /dev/null and b/tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2 differ
diff --git a/tests/ts/blkid/images-fs/iso.img.bz2 b/tests/ts/blkid/images-fs/iso.img.bz2
new file mode 100644 (file)
index 0000000..4389847
Binary files /dev/null and b/tests/ts/blkid/images-fs/iso.img.bz2 differ