Skip to contentSkip to conversation

LVM2/test/lib utils.sh

PATCH [email protected] 1 participant 1 message Mar 16, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-03-16 19:09:49

Modified files:
test/lib : utils.sh

Log message:
Regression fix kernel version check

got changed improperly with large update patch.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/lib/utils.sh.diff?cvsroot=lvm2&r1=1.9&r2=1.10

test/lib/utils.sh +1 -1
@@ -173,7 +173,7 @@
 
 	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() {