dcavalca / rpms / util-linux

Forked from rpms/util-linux 2 years ago
Clone

Blame SOURCES/0026-blkid-add-image-for-btrfs-testing.patch

d8d8bc
From ab34732c0aaf7814393acbffa59cb82a79583e3d Mon Sep 17 00:00:00 2001
d8d8bc
From: Andrey Albershteyn <aalbersh@redhat.com>
d8d8bc
Date: Wed, 27 Apr 2022 17:29:27 +0200
d8d8bc
Subject: blkid: add image for btrfs testing
d8d8bc
d8d8bc
The btrfs is one of the popular filesystem which is supported by
d8d8bc
blkid. However, the image for 'low-probe' tests was missing. Add
d8d8bc
115M BTRFS default image (mkfs.btrfs btrfs.img).
d8d8bc
d8d8bc
Upstream: http://github.com/util-linux/util-linux/commit/bf64c83ec
d8d8bc
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2064810
d8d8bc
Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>
d8d8bc
---
d8d8bc
 tests/expected/blkid/low-probe-btrfs  |   7 +++++++
d8d8bc
 tests/ts/blkid/images-fs/btrfs.img.xz | Bin 0 -> 21696 bytes
d8d8bc
 2 files changed, 7 insertions(+)
d8d8bc
 create mode 100644 tests/expected/blkid/low-probe-btrfs
d8d8bc
 create mode 100644 tests/ts/blkid/images-fs/btrfs.img.xz
d8d8bc
d8d8bc
diff --git a/tests/expected/blkid/low-probe-btrfs b/tests/expected/blkid/low-probe-btrfs
d8d8bc
new file mode 100644
d8d8bc
index 000000000..509fac378
d8d8bc
--- /dev/null
d8d8bc
+++ b/tests/expected/blkid/low-probe-btrfs
d8d8bc
@@ -0,0 +1,7 @@
d8d8bc
+ID_FS_BLOCK_SIZE=4096
d8d8bc
+ID_FS_TYPE=btrfs
d8d8bc
+ID_FS_USAGE=filesystem
d8d8bc
+ID_FS_UUID=d4a78b72-55e4-4811-86a6-09af936d43f9
d8d8bc
+ID_FS_UUID_ENC=d4a78b72-55e4-4811-86a6-09af936d43f9
d8d8bc
+ID_FS_UUID_SUB=1e7603cb-d0be-4d8f-8972-9dddf7d5543c
d8d8bc
+ID_FS_UUID_SUB_ENC=1e7603cb-d0be-4d8f-8972-9dddf7d5543c
d8d8bc
diff --git a/tests/ts/blkid/images-fs/btrfs.img.xz b/tests/ts/blkid/images-fs/btrfs.img.xz
d8d8bc
new file mode 100644
d8d8bc
index 0000000000000000000000000000000000000000..418833d42078492f0266d73b22170d5626b80cc0
d8d8bc
GIT binary patch
d8d8bc
literal 21696
d8d8bc
zcmeHPWl)@3wr!vxA$V{Jnm`i>F2UU`&>ggapuwF42rj|hEhI>A2pXKm5}
d8d8bc
zA=tb1rlx9Us$Na*eRJ
d8d8bc
zYR>KLLtv{u0APQ8dz
d8d8bc
z&Xmu`

4>@S+Y`muuM4>+{+KA8aewyo-V<G)wLITua&>B{m>>0`~^

d8d8bc
zI@syLR(#pX{x0A<9K#nebA1$D`UCiV&QM>I2_F~pQ?-v<%pRQb2;}K`YK-P^&vwUP
d8d8bc
zXVCRhRXj*+F)SwIc5>i8C
d8d8bc
zBQlXwYt@hqFms9vuTiL;d)YN!Y*^LTuVto(kdlk^h450&w>;3%I0iQ5t1!M340lC<
d8d8bc
zJNqTP7*oBYGiqzf;Y#-)_UYvj7l!5pT$Ufzd^?ONf<~|eSw>EKCg`8Y9Ept&MxTZ6
d8d8bc
zF0>S!M_I}?`=$G|kU8gzxej?`x=AMWrL>Dgne>#COY;a4VO(!Phg8cMK?#mDBGC^K
d8d8bc
z4)5|A47Wk>py9-nFz?5)hfJ<#<S>jBm6Yqr^6?nF&PU+$lUP1Z^t?~I_H7O-a@fPM
d8d8bc
z1VyDU9yAP8Fp)uZ-fo&}Xt!*>D$!Y4)kD8~@pZcN>QaNnrJq`lR`OyFEOO3liYep^
d8d8bc
z$I2;Pm{so+JUXa(@QuC-D2hcbWQ1Ec#0*I>s!^L(gsXkp!jfy|1b*aYh~Ggtmn9I*
d8d8bc
zVB(11)iR<JVvlAh>Wsg;l(cX
d8d8bc
zNCvhE`dI|FbRnjuSU;p$rsMI8C
d8d8bc
zq?jqiX8q6^8%XJ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