From 02767c5eb1f9e4a15c5f5134903c292ea499213d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 26 Jun 2015 22:16:01 +0200 Subject: [PATCH] tests: tests needs pre 1.13 thin-pool extorg This test is testing older style, so disable feature when present. --- test/shell/lvcreate-thin-external.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/shell/lvcreate-thin-external.sh b/test/shell/lvcreate-thin-external.sh index 9e907a69e..85078366e 100644 --- a/test/shell/lvcreate-thin-external.sh +++ b/test/shell/lvcreate-thin-external.sh @@ -30,6 +30,10 @@ aux prepare_pvs 2 64 vgcreate $vg -s 64K $(cat DEVICES) +# Newer thin-pool target (>= 1.13) supports unaligned external origin +# But this test is written to test and expect older behavior +aux lvmconf 'global/thin_disabled_features = [ "external_origin_extend" ]' + # Test validation for external origin being multiple of thin pool chunk size lvcreate -L10M -T $vg/pool192 -c 192k lvcreate -an -pr -Zn -l1 -n $lv1 $vg