From afbaab20c72515231740a1a6827d0110c6ff59cf Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sun, 28 Mar 2021 00:16:54 +0100 Subject: [PATCH] tests: fix unfinished check for 4.18 kernel --- test/shell/thin-flags.sh | 4 ++-- 1 file 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