1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

tests: pvscan-autoactivate check for machine-id

This commit is contained in:
David Teigland 2019-06-06 15:32:42 -05:00
parent 2b241eb1f6
commit c315112a3b

View File

@ -134,6 +134,8 @@ not ls "$RUNDIR/lvm/pvs_online/$PVID3"
# pvscan cache ignores pv in a foreign vg
if [ -e "/etc/machine-id" ]; then
aux lvmconf "global/system_id_source = machineid"
_clear_online_files
@ -168,6 +170,8 @@ cat tmp
grep $lv2 tmp
check lv_field $vg2/$lv2 lv_active "" --foreign
fi
# Test the case where pvscan --cache -aay (with no devs)
# gets the final PV to complete the VG, where that final PV