mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
tests: drop some clvmd refs
Do not try to link clvmd binary. Ensure lib is created new and does not refer old binaries.
This commit is contained in:
parent
b2cb8f846a
commit
faf3cc8f71
@ -123,7 +123,6 @@ help:
|
|||||||
@echo " LVM_TEST_CACHE_RESTORE_CMD Command for cache_restore [$(LVM_TEST_CACHE_RESTORE_CMD)]."
|
@echo " LVM_TEST_CACHE_RESTORE_CMD Command for cache_restore [$(LVM_TEST_CACHE_RESTORE_CMD)]."
|
||||||
@echo " LVM_TEST_UNLIMITED Set to get unlimited test log (>32MB)"
|
@echo " LVM_TEST_UNLIMITED Set to get unlimited test log (>32MB)"
|
||||||
@echo " LVM_VALGRIND Enable valgrind testing, execs $$"VALGRIND.
|
@echo " LVM_VALGRIND Enable valgrind testing, execs $$"VALGRIND.
|
||||||
@echo " LVM_VALGRIND_CLVMD Enable valgrind testing of clvmd (1)."
|
|
||||||
@echo " LVM_VALGRIND_DMEVENTD Enable valgrind testing of dmeventd (1)."
|
@echo " LVM_VALGRIND_DMEVENTD Enable valgrind testing of dmeventd (1)."
|
||||||
@echo " LVM_VALGRIND_LVMETAD Enable valgrind testing of lvmetad (1)."
|
@echo " LVM_VALGRIND_LVMETAD Enable valgrind testing of lvmetad (1)."
|
||||||
@echo " LVM_STRACE Enable strace logging."
|
@echo " LVM_STRACE Enable strace logging."
|
||||||
@ -304,7 +303,6 @@ lib/paths-common: $(srcdir)/Makefile.in .lib-dir-stamp Makefile
|
|||||||
echo 'LVMETAD_PIDFILE="@LVMETAD_PIDFILE@"' >> $@-t
|
echo 'LVMETAD_PIDFILE="@LVMETAD_PIDFILE@"' >> $@-t
|
||||||
echo 'LVMPOLLD_PIDFILE="@LVMPOLLD_PIDFILE@"' >> $@-t
|
echo 'LVMPOLLD_PIDFILE="@LVMPOLLD_PIDFILE@"' >> $@-t
|
||||||
echo 'DMEVENTD_PIDFILE="@DMEVENTD_PIDFILE@"' >> $@-t
|
echo 'DMEVENTD_PIDFILE="@DMEVENTD_PIDFILE@"' >> $@-t
|
||||||
echo 'CLVMD_PIDFILE="@CLVMD_PIDFILE@"' >> $@-t
|
|
||||||
echo 'LVM_TEST_THIN_CHECK_CMD=$${LVM_TEST_THIN_CHECK_CMD-@THIN_CHECK_CMD@}' >> $@-t
|
echo 'LVM_TEST_THIN_CHECK_CMD=$${LVM_TEST_THIN_CHECK_CMD-@THIN_CHECK_CMD@}' >> $@-t
|
||||||
echo 'LVM_TEST_THIN_DUMP_CMD=$${LVM_TEST_THIN_DUMP_CMD-@THIN_DUMP_CMD@}' >> $@-t
|
echo 'LVM_TEST_THIN_DUMP_CMD=$${LVM_TEST_THIN_DUMP_CMD-@THIN_DUMP_CMD@}' >> $@-t
|
||||||
echo 'LVM_TEST_THIN_REPAIR_CMD=$${LVM_TEST_THIN_REPAIR_CMD-@THIN_REPAIR_CMD@}' >> $@-t
|
echo 'LVM_TEST_THIN_REPAIR_CMD=$${LVM_TEST_THIN_REPAIR_CMD-@THIN_REPAIR_CMD@}' >> $@-t
|
||||||
@ -314,7 +312,7 @@ lib/paths-common: $(srcdir)/Makefile.in .lib-dir-stamp Makefile
|
|||||||
echo 'LVM_TEST_CACHE_REPAIR_CMD=$${LVM_TEST_CACHE_REPAIR_CMD-@CACHE_REPAIR_CMD@}' >> $@-t
|
echo 'LVM_TEST_CACHE_REPAIR_CMD=$${LVM_TEST_CACHE_REPAIR_CMD-@CACHE_REPAIR_CMD@}' >> $@-t
|
||||||
echo 'LVM_TEST_CACHE_RESTORE_CMD=$${LVM_TEST_CACHE_RESTORE_CMD-@CACHE_RESTORE_CMD@}' >> $@-t
|
echo 'LVM_TEST_CACHE_RESTORE_CMD=$${LVM_TEST_CACHE_RESTORE_CMD-@CACHE_RESTORE_CMD@}' >> $@-t
|
||||||
echo 'export DM_UDEV_SYNCHRONISATION THIN RAID CACHE\' >> $@-t
|
echo 'export DM_UDEV_SYNCHRONISATION THIN RAID CACHE\' >> $@-t
|
||||||
echo ' LVMETAD_PIDFILE LVMPOLLD_PIDFILE DMEVENTD_PIDFILE CLVMD_PIDFILE\' >> $@-t
|
echo ' LVMETAD_PIDFILE LVMPOLLD_PIDFILE DMEVENTD_PIDFILE \' >> $@-t
|
||||||
echo ' LVM_TEST_THIN_CHECK_CMD LVM_TEST_THIN_DUMP_CMD LVM_TEST_THIN_REPAIR_CMD LVM_TEST_THIN_RESTORE_CMD\' >> $@-t
|
echo ' LVM_TEST_THIN_CHECK_CMD LVM_TEST_THIN_DUMP_CMD LVM_TEST_THIN_REPAIR_CMD LVM_TEST_THIN_RESTORE_CMD\' >> $@-t
|
||||||
echo ' LVM_TEST_CACHE_CHECK_CMD LVM_TEST_CACHE_DUMP_CMD LVM_TEST_CACHE_REPAIR_CMD LVM_TEST_CACHE_RESTORE_CMD' >> $@-t
|
echo ' LVM_TEST_CACHE_CHECK_CMD LVM_TEST_CACHE_DUMP_CMD LVM_TEST_CACHE_REPAIR_CMD LVM_TEST_CACHE_RESTORE_CMD' >> $@-t
|
||||||
mv $@-t $@
|
mv $@-t $@
|
||||||
@ -358,12 +356,13 @@ LIB = $(addprefix lib/, $(LIB_SHARED) $(LIB_LOCAL) $(LIB_NOT) $(LIB_LINK_NOT) $(
|
|||||||
|
|
||||||
.lib-dir-stamp:
|
.lib-dir-stamp:
|
||||||
$(MKDIR_P) lib unit
|
$(MKDIR_P) lib unit
|
||||||
|
$(RM) lib/clvmd
|
||||||
for i in $(CMDS); do $(LN_S) -f lvm-wrapper lib/$$i; done
|
for i in $(CMDS); do $(LN_S) -f lvm-wrapper lib/$$i; done
|
||||||
for i in daemons/clvmd/clvmd daemons/dmeventd/dmeventd \
|
for i in daemons/dmeventd/dmeventd \
|
||||||
tools/dmsetup daemons/lvmetad/lvmetad \
|
libdm/dm-tools/dmsetup daemons/lvmetad/lvmetad \
|
||||||
daemons/lvmpolld/lvmpolld ; do \
|
daemons/lvmpolld/lvmpolld ; do \
|
||||||
$(LN_S) -f $(abs_top_builddir)/$$i lib/; done
|
$(LN_S) -f $(abs_top_builddir)/$$i lib/; done
|
||||||
$(LN_S) -f $(abs_top_builddir)/tools/dmsetup lib/dmstats
|
$(LN_S) -f $(abs_top_builddir)/libdm/dm-tools/dmsetup lib/dmstats
|
||||||
$(LN_S) -f $(abs_top_srcdir)/conf/lvmdbusd.profile lib/
|
$(LN_S) -f $(abs_top_srcdir)/conf/lvmdbusd.profile lib/
|
||||||
$(LN_S) -f $(abs_top_srcdir)/conf/thin-performance.profile lib/
|
$(LN_S) -f $(abs_top_srcdir)/conf/thin-performance.profile lib/
|
||||||
$(LN_S) -f $(abs_top_srcdir)/scripts/fsadm.sh lib/fsadm
|
$(LN_S) -f $(abs_top_srcdir)/scripts/fsadm.sh lib/fsadm
|
||||||
|
Loading…
Reference in New Issue
Block a user