main - tests: add lvm_vdo_wrapper
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2ecfd503edadaf5d46115826c629754bf9fd573f Commit: 2ecfd503edadaf5d46115826c629754bf9fd573f Parent: 1b070f366ba57a6eb24df03241284732db5047e9 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue May 31 22:45:29 2022 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Jun 7 17:14:08 2022 +0200
tests: add lvm_vdo_wrapper
Introduce a replacement vdo manager wrapper for testing. When using test suite on a system without vdo manager (which has got deprecated) - we still need its functionality to prepare 'vdo volume' for testing lvm_import_vdo.
Wrapper currently need 2 binaries from older 'vdo 6.2' package - to be named:
oldvdoformat - format VDO metadata with older format oldvdoprepareforlvm - shift vdo metadata by 1MiB
--- test/Makefile.in | 1 + test/lib/lvm_vdo_wrapper.sh | 353 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 354 insertions(+)
test/Makefile.in +1 -0
@@ -369,6 +369,7 @@ LIB = $(addprefix lib/, $(LIB_SECURETEST) $(LIB_DMSECURETEST) $(LIB_SHARED) $(LI $(Q) $(LN_S) -f $(abs_top_srcdir)/conf/thin-performance.profile lib/ $(Q) $(LN_S) -f $(abs_top_srcdir)/scripts/fsadm.sh lib/fsadm $(Q) $(LN_S) -f $(abs_top_srcdir)/scripts/lvm_import_vdo.sh lib/lvm_import_vdo + $(Q) which vdo || $(LN_S) -f $(abs_top_srcdir)/test/lib/lvm_vdo_wrapper.sh lib/vdo @test "$(srcdir)" = . || \ for i in $(LIB_LVMLOCKD_CONF) $(LIB_MKE2FS_CONF); do \ test -n "$(Q)" || echo "$(LN_S) -f $(abs_top_srcdir)/test/lib/$$i lib/"; \
test/lib/lvm_vdo_wrapper.sh new file +353 -0
353 lines not on this page · raw message