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() {