From: Karel Zak Date: Tue, 13 Oct 2020 14:29:19 +0000 (+0200) Subject: tests: update atari blkid tests X-Git-Tag: v2.37-rc1~426 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d061b6e68bc74ce7d61524097b5d0f3becee437;p=thirdparty%2Futil-linux.git tests: update atari blkid tests 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 --- diff --git a/tests/expected/blkid/lowprobe-pt-atari-icd b/tests/expected/blkid/lowprobe-pt-atari-icd deleted file mode 100644 index 29942b1235..0000000000 --- a/tests/expected/blkid/lowprobe-pt-atari-icd +++ /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 index 0000000000..472821e479 --- /dev/null +++ b/tests/expected/blkid/lowprobe-pt-atari-primary @@ -0,0 +1,3 @@ +size: 5242880, sector size: 512, PT: atari, offset: 0, id=(null) +--- +#1: 2 10238 0x0 type='RAW' diff --git a/tests/expected/blkid/lowprobe-pt-atari-xgm b/tests/expected/blkid/lowprobe-pt-atari-xgm index 4b77566550..a7dae6995a 100644 --- a/tests/expected/blkid/lowprobe-pt-atari-xgm +++ b/tests/expected/blkid/lowprobe-pt-atari-xgm @@ -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 index 00a2aba49a..0000000000 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 index 0000000000..6f915fa8ad Binary files /dev/null and b/tests/ts/blkid/images-pt/atari-primary.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 index bc2b8f94a7..a98c02de94 100644 Binary files a/tests/ts/blkid/images-pt/atari-xgm.img.xz and b/tests/ts/blkid/images-pt/atari-xgm.img.xz differ