diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-11-13 10:00:57 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-11-13 11:17:07 +0100 |
commit | ea1814cea8fe45c7f9dd861642e65701a00f8c03 (patch) | |
tree | 10715f584c4f9012df53f48cfb984629b00ba437 | |
parent | 6dadebb1e45b0adc63380b5c61fb37f6d7ffee5a (diff) | |
download | lvm2-ea1814cea8fe45c7f9dd861642e65701a00f8c03.tar.gz |
tests: without delay_dev skip some checks
When delay_dev is missing these tests are just racy.
-rw-r--r-- | test/shell/pvmove-resume-2.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/shell/pvmove-resume-2.sh b/test/shell/pvmove-resume-2.sh index ff3806f3d..c8643e43e 100644 --- a/test/shell/pvmove-resume-2.sh +++ b/test/shell/pvmove-resume-2.sh @@ -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 } |