Util-Linux Archive on lore.kernel.org
 help / Atom feed
* [PATCH 1/1] tests: add test images for drbd v08/v09
@ 2018-11-22 13:42 Roland Kammerer
  2018-11-29 10:03 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Kammerer @ 2018-11-22 13:42 UTC (permalink / raw)
  To: util-linux; +Cc: Roland Kammerer

This adds DRBD meta data images for DRBD versions 8 and 9, as well as
the according expected output.

Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
---
 tests/expected/blkid/low-probe-drbd-v08  |   5 +++++
 tests/expected/blkid/low-probe-drbd-v09  |   5 +++++
 tests/ts/blkid/images-fs/drbd-v08.img.xz | Bin 0 -> 448 bytes
 tests/ts/blkid/images-fs/drbd-v09.img.xz | Bin 0 -> 460 bytes
 4 files changed, 10 insertions(+)
 create mode 100644 tests/expected/blkid/low-probe-drbd-v08
 create mode 100644 tests/expected/blkid/low-probe-drbd-v09
 create mode 100644 tests/ts/blkid/images-fs/drbd-v08.img.xz
 create mode 100644 tests/ts/blkid/images-fs/drbd-v09.img.xz

diff --git a/tests/expected/blkid/low-probe-drbd-v08 b/tests/expected/blkid/low-probe-drbd-v08
new file mode 100644
index 000000000..22b431320
--- /dev/null
+++ b/tests/expected/blkid/low-probe-drbd-v08
@@ -0,0 +1,5 @@
+ID_FS_TYPE=drbd
+ID_FS_USAGE=raid
+ID_FS_UUID=4242424242424242
+ID_FS_UUID_ENC=4242424242424242
+ID_FS_VERSION=v08
diff --git a/tests/expected/blkid/low-probe-drbd-v09 b/tests/expected/blkid/low-probe-drbd-v09
new file mode 100644
index 000000000..0bf0dcfb9
--- /dev/null
+++ b/tests/expected/blkid/low-probe-drbd-v09
@@ -0,0 +1,5 @@
+ID_FS_TYPE=drbd
+ID_FS_USAGE=raid
+ID_FS_UUID=4242424242424242
+ID_FS_UUID_ENC=4242424242424242
+ID_FS_VERSION=v09
diff --git a/tests/ts/blkid/images-fs/drbd-v08.img.xz b/tests/ts/blkid/images-fs/drbd-v08.img.xz
new file mode 100644
index 0000000000000000000000000000000000000000..2c8db6b503548fa6a84928835221e56bd50cf21d
GIT binary patch
literal 448
zcmV;x0YCozH+ooF000E$*0e?f03iVu0001VFXf~5fB*r1T>vT?2`6M6hmFeH*o(PS
zp1tm=00zKy=3RzfsZGcrZ>mM$V(L%ml5d06N1~>AxYM85u_9`X_vmT-8`W`TT7sML
zPaqpAoyBG%=5Gz}EYwR@%F<hLyt#qCT5_Izk3posuzX7qV`^v&ie^izY}%0=e%}s5
zWq8OJiY$iY$S*0KPE*0zI{ckQeAQj+hC&lPXP`v*H!Wb@>vFQ>M)p+jh;=M5+rm&(
zks_A{17FE-I~2e&H<+ar0j21p2`cQW|5_%jats!dr@lFlB;jzLrz2nND9eS>m6(ct
zDv|Ohb@v&-2AEBl{n)S7kPpNqQ~33fHZcXIu<mcca7{-H(UB3VtzaFx&ao#LTv>+c
zW>Q$b>2|DH<mFoh2>Hj_t^E5^D|F2sTOdOD-BUgIDP##dfXg9NuJEoKVx8gljQ{VX
z?iCSN(a~RXl-qrn0T4`UiDLo!S%7MlePQ?wJu{b42A3K$U06qpB7EYBTry27Y8V1Y
qt2$Z$0001EiFDCR<%CH90h<GXfLZ{JH_!*M#Ao{g000001X)@i?9ZS8

literal 0
HcmV?d00001

diff --git a/tests/ts/blkid/images-fs/drbd-v09.img.xz b/tests/ts/blkid/images-fs/drbd-v09.img.xz
new file mode 100644
index 0000000000000000000000000000000000000000..798042da887a1c4bf9d7644c59378a45ad0c6d05
GIT binary patch
literal 460
zcmV;-0W<#nH+ooF000E$*0e?f03iVu0001VFXf~5fB*rDT>vT?2`6M6hmFeH*o(PS
zp1tm=00zKy=3RzfsZGcrZ>mM$V(L%ml5d06N1~>AxYM85u_9`X_vmT-8`W`TT7sML
zPaqpAoyBG%=5Gz}EYwR@%F<hLyt#qCT5_Izk3posuzX7qV`^v&ie^izY}%0=e%}s5
zWq8OJiY$iY$S*0KPE*0zI{ckQeAQj+hC&lPXP`v*H!Wb@>vFQ>M)p+jh;=M5+rm&(
zks_A{17FE-I~2e&H<+ar0j21p2`cQW|5_%jats!dr@lFlB;jzLrz2nND9eS>m6(ct
zDv|Ohb@v&-2AEBl{n)S7kPpNqQ~33fHZcXIu<mcca7{-H(UB3VtzaFx&ao#LTv>+c
zW>Q$b>2|DH<mFoh2>Hj_t^E5^D|F2sTOdOD-BUgIDP##dfXg9NuJEoKVx8gljQ{VX
z?iCSN(a~RXl-qrn0T4`UiDLo+z?<oXMRDPF4G90lRv5)XCh-EX^N`z?&0M1+*5v3I
zV37IyL|GU)=9T_yM*$@O0000)a<fK4(^F6Y0jC3jfLZ`s@Mv_g#Ao{g000001X)^^
CM%tAC

literal 0
HcmV?d00001

-- 
2.18.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] tests: add test images for drbd v08/v09
  2018-11-22 13:42 [PATCH 1/1] tests: add test images for drbd v08/v09 Roland Kammerer
@ 2018-11-29 10:03 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2018-11-29 10:03 UTC (permalink / raw)
  To: Roland Kammerer; +Cc: util-linux

On Thu, Nov 22, 2018 at 02:42:48PM +0100, Roland Kammerer wrote:
>  tests/expected/blkid/low-probe-drbd-v08  |   5 +++++
>  tests/expected/blkid/low-probe-drbd-v09  |   5 +++++
>  tests/ts/blkid/images-fs/drbd-v08.img.xz | Bin 0 -> 448 bytes
>  tests/ts/blkid/images-fs/drbd-v09.img.xz | Bin 0 -> 460 bytes
>  4 files changed, 10 insertions(+)
>  create mode 100644 tests/expected/blkid/low-probe-drbd-v08
>  create mode 100644 tests/expected/blkid/low-probe-drbd-v09
>  create mode 100644 tests/ts/blkid/images-fs/drbd-v08.img.xz
>  create mode 100644 tests/ts/blkid/images-fs/drbd-v09.img.xz

Applied, thanks!

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22 13:42 [PATCH 1/1] tests: add test images for drbd v08/v09 Roland Kammerer
2018-11-29 10:03 ` Karel Zak

Util-Linux Archive on lore.kernel.org

Archives are clonable: git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org util-linux@archiver.kernel.org
	public-inbox-index util-linux


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox