From cf760281f0983aff95c3750fb5a5db412657d072 Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Tue, 19 Jan 2010 17:06:50 +0000 Subject: [PATCH] test/t-topology-support.sh requires scsi_debug from >= 2.6.31 --- test/t-topology-support.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/t-topology-support.sh b/test/t-topology-support.sh index 102f66555..27ea4f702 100644 --- a/test/t-topology-support.sh +++ b/test/t-topology-support.sh @@ -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()