summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-09-24 10:46:25 +0200
committerKarel Zak <kzak@redhat.com>2009-09-24 10:46:25 +0200
commit68ee5746f068a69999920c7799dd7270a9ba6701 (patch)
treec57aee4c8c70589611018f161e7e238c47edcc67 /tests
parent7d0c1c45a911be05a35296961c585e9488671dce (diff)
downloadutil-linux-old-68ee5746f068a69999920c7799dd7270a9ba6701.tar.gz
tests: add blkid regression tests for ISO9660
Note that Rock-Ridge detection is not supported yet. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/expected/blkid/low-probe-iso4
-rw-r--r--tests/expected/blkid/low-probe-iso-joliet5
-rw-r--r--tests/expected/blkid/low-probe-iso-rr-joliet5
-rw-r--r--tests/ts/blkid/images-fs/iso-joliet.img.bz2bin0 -> 21050 bytes
-rw-r--r--tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2bin0 -> 21380 bytes
-rw-r--r--tests/ts/blkid/images-fs/iso.img.bz2bin0 -> 20718 bytes
6 files changed, 14 insertions, 0 deletions
diff --git a/tests/expected/blkid/low-probe-iso b/tests/expected/blkid/low-probe-iso
new file mode 100644
index 00000000..31a51160
--- /dev/null
+++ b/tests/expected/blkid/low-probe-iso
@@ -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
index 00000000..4d21557c
--- /dev/null
+++ b/tests/expected/blkid/low-probe-iso-joliet
@@ -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
index 00000000..0b3acffa
--- /dev/null
+++ b/tests/expected/blkid/low-probe-iso-rr-joliet
@@ -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
index 00000000..4e43c0b8
--- /dev/null
+++ b/tests/ts/blkid/images-fs/iso-joliet.img.bz2
Binary files 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
index 00000000..97e8b769
--- /dev/null
+++ b/tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2
Binary files 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
index 00000000..43898475
--- /dev/null
+++ b/tests/ts/blkid/images-fs/iso.img.bz2
Binary files differ