]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: added test for libblkid atari pt
authorVaclav Dolezal <vdolezal@redhat.com>
Tue, 23 Jan 2018 15:10:59 +0000 (16:10 +0100)
committerVaclav Dolezal <vdolezal@redhat.com>
Tue, 23 Jan 2018 16:02:41 +0000 (17:02 +0100)
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
tests/expected/blkid/lowprobe-pt-atari-icd [new file with mode: 0644]
tests/expected/blkid/lowprobe-pt-atari-xgm [new file with mode: 0644]
tests/ts/blkid/images-pt/atari-icd.img.xz [new file with mode: 0644]
tests/ts/blkid/images-pt/atari-xgm.img.xz [new file with mode: 0644]

diff --git a/tests/expected/blkid/lowprobe-pt-atari-icd b/tests/expected/blkid/lowprobe-pt-atari-icd
new file mode 100644 (file)
index 0000000..29942b1
--- /dev/null
@@ -0,0 +1,8 @@
+size: 8388608, sector size: 512, PT: atari, offset: 0, id=(null)
+---
+#1:         65       4032  0x0 type='FAT'
+#2:       4097        904  0x0 type='FOO'
+#4:      12289       4096  0x0 type='BAR'
+#5:       5002       1999  0x0 type='GEM'
+#6:       7003       3238  0x0 type='RAW'
+#7:      10241       2048  0x0 type='RAW'
diff --git a/tests/expected/blkid/lowprobe-pt-atari-xgm b/tests/expected/blkid/lowprobe-pt-atari-xgm
new file mode 100644 (file)
index 0000000..4b77566
--- /dev/null
@@ -0,0 +1,8 @@
+size: 8388608, sector size: 512, PT: atari, offset: 0, id=(null)
+---
+#1:         65       4032  0x0 type='FAT'
+#2:       4097        904  0x0 type='FOO'
+#3:       5002       1999  0x0 type='GEM'
+#4:       7003       3238  0x0 type='RAW'
+#5:      10241       2048  0x0 type='RAW'
+#6:      12289       4096  0x0 type='BAR'
diff --git a/tests/ts/blkid/images-pt/atari-icd.img.xz b/tests/ts/blkid/images-pt/atari-icd.img.xz
new file mode 100644 (file)
index 0000000..00a2aba
Binary files /dev/null and b/tests/ts/blkid/images-pt/atari-icd.img.xz differ
diff --git a/tests/ts/blkid/images-pt/atari-xgm.img.xz b/tests/ts/blkid/images-pt/atari-xgm.img.xz
new file mode 100644 (file)
index 0000000..bc2b8f9
Binary files /dev/null and b/tests/ts/blkid/images-pt/atari-xgm.img.xz differ