mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: without delay_dev skip some checks
When delay_dev is missing these tests are just racy.
This commit is contained in:
parent
6dadebb1e4
commit
ea1814cea8
@ -99,7 +99,7 @@ lvchange_all() {
|
|||||||
if test -e LOCAL_LVMPOLLD; then
|
if test -e LOCAL_LVMPOLLD; then
|
||||||
aux lvmpolld_dump | tee lvmpolld_dump.txt
|
aux lvmpolld_dump | tee lvmpolld_dump.txt
|
||||||
aux check_lvmpolld_init_rq_count 1 "$vg/pvmove0" || should false
|
aux check_lvmpolld_init_rq_count 1 "$vg/pvmove0" || should false
|
||||||
else
|
elif test -e HAVE_DM_DELAY; then
|
||||||
test $(aux count_processes_with_tag) -eq $1 || should false
|
test $(aux count_processes_with_tag) -eq $1 || should false
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -110,7 +110,7 @@ vgchange_single() {
|
|||||||
if test -e LOCAL_LVMPOLLD; then
|
if test -e LOCAL_LVMPOLLD; then
|
||||||
aux lvmpolld_dump | tee lvmpolld_dump.txt
|
aux lvmpolld_dump | tee lvmpolld_dump.txt
|
||||||
aux check_lvmpolld_init_rq_count 1 "$vg/pvmove0"
|
aux check_lvmpolld_init_rq_count 1 "$vg/pvmove0"
|
||||||
else
|
elif test -e HAVE_DM_DELAY; then
|
||||||
test $(aux count_processes_with_tag) -eq $1
|
test $(aux count_processes_with_tag) -eq $1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user