diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 6e4a1d74e..390033d31 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -56,7 +56,7 @@ create_dlm_conf() { mv "$DLM_CONF" "$DLM_CONF.prelvmtest" fi fi - + mkdir -p "$(dirname "$DLM_CONF")" cp lib/test-dlm-conf "$DLM_CONF" echo "created new $DLM_CONF" } diff --git a/test/lib/flavour-udev-lvmlockd-dlm.sh b/test/lib/flavour-udev-lvmlockd-dlm.sh index 198ec563b..93d7877ff 100644 --- a/test/lib/flavour-udev-lvmlockd-dlm.sh +++ b/test/lib/flavour-udev-lvmlockd-dlm.sh @@ -1,5 +1,6 @@ export LVM_TEST_LOCKING=1 export LVM_TEST_LVMPOLLD=1 export LVM_TEST_LVMLOCKD=1 +export LVM_TEST_LVMLOCKD_TEST=1 export LVM_TEST_LOCK_TYPE_DLM=1 export LVM_TEST_DEVDIR=/dev