Skip to contentSkip to conversation

LVM2/test t-topology-support.sh

PATCH [email protected] 1 participant 1 message Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: snitzer at sourceware.org 2010-01-19 17:06:50

Modified files:
test : t-topology-support.sh

Log message:
test/t-topology-support.sh requires scsi_debug from >= 2.6.31

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-topology-support.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2

test/t-topology-support.sh +5 -0
@@ -10,6 +10,11 @@
 
 which mkfs.ext3 || exit 200
 
+# Get linux minor version
+linux_minor=$(echo `uname -r` | cut -d'.' -f3 | cut -d'-' -f1)
+
+test $linux_minor -ge 31 || exit 200
+
 . ./test-utils.sh
 
 check_logical_block_size()