summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-03-28 00:16:54 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-03-28 00:21:38 +0100
commitafbaab20c72515231740a1a6827d0110c6ff59cf (patch)
tree0a34b224f07d652c666cb3ccb2a0c9e253896405
parentf584f0cd9e84c33128200897eebd6edb22557167 (diff)
downloadlvm2-afbaab20c72515231740a1a6827d0110c6ff59cf.tar.gz
tests: fix unfinished check for 4.18 kernel
-rw-r--r--test/shell/thin-flags.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/shell/thin-flags.sh b/test/shell/thin-flags.sh
index 0b3148a9c..795d47ae5 100644
--- a/test/shell/thin-flags.sh
+++ b/test/shell/thin-flags.sh
@@ -99,9 +99,9 @@ lvs -ao+seg_pe_ranges $vg
# needs_check needs newer version
THINMINVER="1 20 0"
-aux kernel_at_least 4.18 && THINMINVER="1 19 0" # kernel >=4.18 already had changes from 1.20
+aux kernel_at_least 4 18 && THINMINVER="1 19 0" # kernel >=4.18 already had changes from 1.20
-if aux have_thin $THINVER ; then
+if aux have_thin $THINMINVER ; then
check lv_attr_bit state $vg/pool "a"
dmsetup suspend $vg-pool-tpool