]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: update atari blkid tests
authorKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2020 14:29:19 +0000 (16:29 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Oct 2020 14:29:19 +0000 (16:29 +0200)
The old images of the atari label are truncated and in-table stored
sizes do not match with real images sizes -- libblkid checks it now.

I have no idea how to generate ICD format, let's ignore it in tests
for now.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/blkid/lowprobe-pt-atari-icd [deleted file]
tests/expected/blkid/lowprobe-pt-atari-primary [new file with mode: 0644]
tests/expected/blkid/lowprobe-pt-atari-xgm
tests/ts/blkid/images-pt/atari-icd.img.xz [deleted file]
tests/ts/blkid/images-pt/atari-primary.img.xz [new file with mode: 0644]
tests/ts/blkid/images-pt/atari-xgm.img.xz

diff --git a/tests/expected/blkid/lowprobe-pt-atari-icd b/tests/expected/blkid/lowprobe-pt-atari-icd
deleted file mode 100644 (file)
index 29942b1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-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-primary b/tests/expected/blkid/lowprobe-pt-atari-primary
new file mode 100644 (file)
index 0000000..472821e
--- /dev/null
@@ -0,0 +1,3 @@
+size: 5242880, sector size: 512, PT: atari, offset: 0, id=(null)
+---
+#1:          2      10238  0x0 type='RAW'
index 4b775665502fb7834bf2c281cfd6e4d5a58eb93c..a7dae6995ab7b2a1baa3248b5e9a9e3515dde0af 100644 (file)
@@ -1,8 +1,4 @@
-size: 8388608, sector size: 512, PT: atari, offset: 0, id=(null)
+size: 5242880, 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'
+#1:          2          9  0x0 type='RAW'
+#2:         14      10226  0x0 type='RAW'
diff --git a/tests/ts/blkid/images-pt/atari-icd.img.xz b/tests/ts/blkid/images-pt/atari-icd.img.xz
deleted file mode 100644 (file)
index 00a2aba..0000000
Binary files a/tests/ts/blkid/images-pt/atari-icd.img.xz and /dev/null differ
diff --git a/tests/ts/blkid/images-pt/atari-primary.img.xz b/tests/ts/blkid/images-pt/atari-primary.img.xz
new file mode 100644 (file)
index 0000000..6f915fa
Binary files /dev/null and b/tests/ts/blkid/images-pt/atari-primary.img.xz differ
index bc2b8f94a77f5015ef7f91bb8acdc9950c8be7ad..a98c02de943eb1f70c5d09b7812fd237b0facb1b 100644 (file)
Binary files a/tests/ts/blkid/images-pt/atari-xgm.img.xz and b/tests/ts/blkid/images-pt/atari-xgm.img.xz differ