summaryrefslogtreecommitdiff
path: root/test/shell/lvconvert-twostep.sh
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2018-12-18 10:55:35 +0100
committerMarian Csontos <mcsontos@redhat.com>2018-12-18 10:55:35 +0100
commit93c7bca08f328f50af4ce4a93fd19b0973b9bd1f (patch)
treea8ce146a13a9efa87f24a729427a098470677892 /test/shell/lvconvert-twostep.sh
parent88153c7c0aa45e9ce3d8a226e5ba1b7af7002aa1 (diff)
downloadlvm2-93c7bca08f328f50af4ce4a93fd19b0973b9bd1f.tar.gz
Revert "tests: Remove unsupported mirrored mirrorlog"
Incorrect cherry pick from another branch. This reverts commit 07fc4866f040a382c39577fb739e010734d83e42.
Diffstat (limited to 'test/shell/lvconvert-twostep.sh')
-rw-r--r--test/shell/lvconvert-twostep.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/shell/lvconvert-twostep.sh b/test/shell/lvconvert-twostep.sh
index 7487d518f..afc9d47a6 100644
--- a/test/shell/lvconvert-twostep.sh
+++ b/test/shell/lvconvert-twostep.sh
@@ -27,4 +27,10 @@ lvconvert --mirrorlog core $vg/mirror
not lvconvert -m 1 --mirrorlog disk $vg/mirror "$dev3" 2>&1 | tee errs
grep "two steps" errs
+if test ! -e LOCAL_CLVMD ; then
+# FIXME mirrored unsupported in cluster
+not lvconvert -m 1 --mirrorlog mirrored $vg/mirror "$dev3" "$dev4" 2>&1 | tee errs
+grep "two steps" errs
+fi
+
vgremove -ff $vg