dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone
14604f
From 78be9c320883e77c2b5fdc676277a51efc98c723 Mon Sep 17 00:00:00 2001
14604f
From: Karel Zak <kzak@redhat.com>
14604f
Date: Tue, 13 Oct 2020 16:29:19 +0200
14604f
Subject: tests: update atari blkid tests
14604f
14604f
The old images of the atari label are truncated and in-table stored
14604f
sizes do not match with real images sizes -- libblkid checks it now.
14604f
14604f
I have no idea how to generate ICD format, let's ignore it in tests
14604f
for now.
14604f
14604f
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2060030
14604f
Upstream: http://github.com/util-linux/util-linux/commit/0d061b6e68bc74ce7d61524097b5d0f3becee437
14604f
Signed-off-by: Karel Zak <kzak@redhat.com>
14604f
---
14604f
 tests/expected/blkid/lowprobe-pt-atari-icd     |   8 --------
14604f
 tests/expected/blkid/lowprobe-pt-atari-primary |   3 +++
14604f
 tests/expected/blkid/lowprobe-pt-atari-xgm     |  10 +++-------
14604f
 tests/ts/blkid/images-pt/atari-icd.img.xz      | Bin 1920 -> 0 bytes
14604f
 tests/ts/blkid/images-pt/atari-primary.img.xz  | Bin 0 -> 932 bytes
14604f
 tests/ts/blkid/images-pt/atari-xgm.img.xz      | Bin 1920 -> 956 bytes
14604f
 6 files changed, 6 insertions(+), 15 deletions(-)
14604f
 delete mode 100644 tests/expected/blkid/lowprobe-pt-atari-icd
14604f
 create mode 100644 tests/expected/blkid/lowprobe-pt-atari-primary
14604f
 delete mode 100644 tests/ts/blkid/images-pt/atari-icd.img.xz
14604f
 create mode 100644 tests/ts/blkid/images-pt/atari-primary.img.xz
14604f
14604f
diff --git a/tests/expected/blkid/lowprobe-pt-atari-icd b/tests/expected/blkid/lowprobe-pt-atari-icd
14604f
deleted file mode 100644
14604f
index 29942b123..000000000
14604f
--- a/tests/expected/blkid/lowprobe-pt-atari-icd
14604f
+++ /dev/null
14604f
@@ -1,8 +0,0 @@
14604f
-size: 8388608, sector size: 512, PT: atari, offset: 0, id=(null)
14604f
----
14604f
-#1:         65       4032  0x0 type='FAT'
14604f
-#2:       4097        904  0x0 type='FOO'
14604f
-#4:      12289       4096  0x0 type='BAR'
14604f
-#5:       5002       1999  0x0 type='GEM'
14604f
-#6:       7003       3238  0x0 type='RAW'
14604f
-#7:      10241       2048  0x0 type='RAW'
14604f
diff --git a/tests/expected/blkid/lowprobe-pt-atari-primary b/tests/expected/blkid/lowprobe-pt-atari-primary
14604f
new file mode 100644
14604f
index 000000000..472821e47
14604f
--- /dev/null
14604f
+++ b/tests/expected/blkid/lowprobe-pt-atari-primary
14604f
@@ -0,0 +1,3 @@
14604f
+size: 5242880, sector size: 512, PT: atari, offset: 0, id=(null)
14604f
+---
14604f
+#1:          2      10238  0x0 type='RAW'
14604f
diff --git a/tests/expected/blkid/lowprobe-pt-atari-xgm b/tests/expected/blkid/lowprobe-pt-atari-xgm
14604f
index 4b7756655..a7dae6995 100644
14604f
--- a/tests/expected/blkid/lowprobe-pt-atari-xgm
14604f
+++ b/tests/expected/blkid/lowprobe-pt-atari-xgm
14604f
@@ -1,8 +1,4 @@
14604f
-size: 8388608, sector size: 512, PT: atari, offset: 0, id=(null)
14604f
+size: 5242880, sector size: 512, PT: atari, offset: 0, id=(null)
14604f
 ---
14604f
-#1:         65       4032  0x0 type='FAT'
14604f
-#2:       4097        904  0x0 type='FOO'
14604f
-#3:       5002       1999  0x0 type='GEM'
14604f
-#4:       7003       3238  0x0 type='RAW'
14604f
-#5:      10241       2048  0x0 type='RAW'
14604f
-#6:      12289       4096  0x0 type='BAR'
14604f
+#1:          2          9  0x0 type='RAW'
14604f
+#2:         14      10226  0x0 type='RAW'
14604f
diff --git a/tests/ts/blkid/images-pt/atari-icd.img.xz b/tests/ts/blkid/images-pt/atari-icd.img.xz
14604f
deleted file mode 100644
14604f
index 00a2aba49a8f940c35b788fd693f966a31cd1aaf..0000000000000000000000000000000000000000
14604f
GIT binary patch
14604f
literal 0
14604f
HcmV?d00001
14604f
14604f
literal 1920
14604f
zc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_Kc+u-9hd96{dU62
14604f
zdy9&v9!&J;nWpuKafAQ2KRiy8H+G)6azfr>>9!ZUEsJ{hn{EH;vMu55vVwblapfAb
14604f
zxMqapUGF~CVIOb!`-J}sVcYGG8+IwL_`%kF^K1PzUTOPUszzJx7yZuII0hq?niBJy
14604f
ztHO<bZHoEeb??p39f4v$CnZ^ZH?w&9HG2Bb3&qh5R7@FV8>i*X|1ZF(LqR~lKc93~
14604f
zM{UwbNSDCeSh)377bwKEDG0HlkOiq$@C5SPZ)#xt%D~Ft{N&Fs28N&OuDBU3?>)l6
14604f
bc!#f{p@D_bU0QSFk@Vk8z
14604f
14604f
diff --git a/tests/ts/blkid/images-pt/atari-primary.img.xz b/tests/ts/blkid/images-pt/atari-primary.img.xz
14604f
new file mode 100644
14604f
index 0000000000000000000000000000000000000000..6f915fa8ad96578f32b0daeeb92d438046482478
14604f
GIT binary patch
14604f
literal 932
14604f
zcmexsUKJ6=z`*kC+7>q^21Q0O1_p)_{ilon|NG21IhKJT|L>o5D`zuK%~gJC<+=Ii
14604f
zjxFDrre11~o8UX~^*sr`-ND)CA`-a`g{vlPsQ4ms_SS~eoI5Q;loOk08+!D2evoWh
14604f
za^cV`_b30BuKD=6`BwT2=4;0@BCk29bN`)lS>&4=``*}-hYFe|Np9+Tq~OEO|Ip}x
14604f
zJ4;5zolM)LTaTWs>#-B)sg`FET(veqcGtO$>Jl-LZ7
14604f
z{`noGU2;|~TEXe(-C)}vnkk&t4X3qo?r*jJaAdDu{3?Ds?=+_g!hHV)CjTg`i2T8Q
14604f
z_Wx83H~y7>YVQ4>WuO;!puhEVbK`;3BdWnazD_hVWL>)9UH-uWUw59169<{qE8fUY
14604f
zo&R5eQJdjSaq#lL`_|PMO3mNiYnWFsZ@F^(8;#Sg7pKnXs?(bINxk&D<N>xBzBB&b
14604f
zSbuc_{}AvSO=2{V-+t2s#$OCG2V;Pp`LJObFuO6V(c5
14604f
PZak9yn+YVz5*Y;mtR2mT
14604f
14604f
literal 0
14604f
HcmV?d00001
14604f
14604f
diff --git a/tests/ts/blkid/images-pt/atari-xgm.img.xz b/tests/ts/blkid/images-pt/atari-xgm.img.xz
14604f
index bc2b8f94a77f5015ef7f91bb8acdc9950c8be7ad..a98c02de943eb1f70c5d09b7812fd237b0facb1b 100644
14604f
GIT binary patch
14604f
delta 254
14604f
zcmV
14604f
zX)WzPD$MTS!%B(|Y-}5#$Apx#1e(KC*{Pqmx)SsG9Xw0f%eaQXL!_kre&U)tNOpTG
14604f
z*`SUYP}mJ59xhhp;RT@IihuacmkuJPZKAP=s%k;MCh}UW4>G(m3T!1071TaDPc176
14604f
z%r3#|+u3QZtfaEW{3%z$%QU-cGO>PfMsWxu0c{gkG*2F%lPd=M1Y0KMdb1z~F#!dT
14604f
z0hR!nlZ*pGlY9kID9q|Q?7#p305pfRGwmY1>Hq
14604f
ET8n^h+5i9m
14604f
14604f
delta 911
14604f
zcmV;A191Gj2Y?Td8h`ZzXk7p_9nzBv0itSzIT-tkb*P7lpX0X5Qpj9XCEAo){And-
14604f
zYK<xKajiWJc6bnO+XeDeJWCuy8RxfssL`KA%041j5>(WLc?9R2t|ec6RBZT@27Sz`
14604f
zOOUBo_werj4>Y!M_jnW_X5LT!U5BJX(|7z_`gvmiFY#+&QGZnQ(jc275rI8N1mYN%
14604f
z7v%B{<<#dXY{%}<@y#~8tP9hXhdGhPLXas^?`1i>3YaIhBPV!{?OHspK+1tr-1sq_
14604f
zOZO`ZH4#=PA*a;DhrzO(E3P%s2bvJ((;Hqp+UQEjk15npIGkF2Q$_0pB(dp;yn_5C
14604f
zKjIcSPFeWwJAX-pwI>0p^9vxJ5{vOrh0paF?UCzL@0Je2X%OGwl&9sLSXEoYL7KSi
14604f
z7kK;C!)?P%&jT1dJAlLZ<v{G=zxL^Qi2rAoSP-XF2E>%9j=5dAv$#2>cZVkYtBX;b
14604f
zKkd4%t<0bN;Bxyi9^Oz(*%pa{7z1UunHr0BY|UqQ4u5cp8OsHbC2P>hSGyMrvv_3u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