diff options
author | Ondrej Kozina <okozina@redhat.com> | 2016-01-12 13:24:12 +0100 |
---|---|---|
committer | Ondrej Kozina <okozina@redhat.com> | 2016-01-12 13:32:23 +0100 |
commit | 1a3ee6402ecf761554040a551f6c7f52b92f73ca (patch) | |
tree | 8d3d28b414358786b429a861001ca700a207f3e7 | |
parent | d1e30ff0baa3cf4ae0c582c29dc017d63ca99483 (diff) | |
download | lvm2-1a3ee6402ecf761554040a551f6c7f52b92f73ca.tar.gz |
test: conditional skip of auto-activation bg polling test
if dm-snapshot-merge target not present skip whole test
-rw-r--r-- | test/shell/lvmetad-pvscan-autoactivation-polling.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/shell/lvmetad-pvscan-autoactivation-polling.sh b/test/shell/lvmetad-pvscan-autoactivation-polling.sh index f7ea912f5..08e00e0da 100644 --- a/test/shell/lvmetad-pvscan-autoactivation-polling.sh +++ b/test/shell/lvmetad-pvscan-autoactivation-polling.sh @@ -13,6 +13,9 @@ SKIP_WITHOUT_LVMETAD=1 . lib/inittest +# test if snapshot-merge target is available +aux target_at_least dm-snapshot-merge 1 0 0 || skip + which mkfs.ext3 || skip lvdev_() { |