1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

tests: without delay_dev skip some checks

When delay_dev is missing these tests are just racy.
This commit is contained in:
Zdenek Kabelac 2015-11-13 10:00:57 +01:00
parent 6dadebb1e4
commit ea1814cea8

View File

@ -99,7 +99,7 @@ lvchange_all() {
if test -e LOCAL_LVMPOLLD; then
aux lvmpolld_dump | tee lvmpolld_dump.txt
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
fi
}
@ -110,7 +110,7 @@ vgchange_single() {
if test -e LOCAL_LVMPOLLD; then
aux lvmpolld_dump | tee lvmpolld_dump.txt
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
fi
}