From: Zdenek Kabelac Date: Fri, 16 Mar 2012 19:09:49 +0000 (+0000) Subject: Regression fix kernel version check X-Git-Tag: v2_02_96~125 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=e79d64b52bba894f7028d406d478ceb440f65d48;p=lvm2.git Regression fix kernel version check got changed improperly with large update patch. --- diff --git a/test/lib/utils.sh b/test/lib/utils.sh index 941c4a9ec..8ef0f1a52 100644 --- a/test/lib/utils.sh +++ b/test/lib/utils.sh @@ -173,7 +173,7 @@ kernel_at_least() { local minor2=$(uname -r | cut -d. -f3 | cut -d- -f1) test -z "$minor2" -a $3 -ne 0 && return 1 - test $minor2 -lt $3 2>/dev/null || return 1 + test $minor2 -ge $3 2>/dev/null || return 1 } prepare_test_vars() {