LVM2/test t-topology-support.sh
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
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()