summaryrefslogtreecommitdiff
path: root/tests/t9010-big-sector.sh
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-02 15:33:15 +0100
committerJim Meyering <meyering@redhat.com>2009-11-03 16:50:25 +0100
commit36135265261029039c9dd208baff414ee044d286 (patch)
tree83fcf2b81eed177b2507f7be540eb4d7647f1c35 /tests/t9010-big-sector.sh
parent39f768945b4b4ae750ba2181794bf99da969b55b (diff)
downloadparted-36135265261029039c9dd208baff414ee044d286.tar.gz
tests: factor out some more
* tests/t-local.sh (require_scsi_debug_module_): New function. * tests/t9010-big-sector.sh: Use it.
Diffstat (limited to 'tests/t9010-big-sector.sh')
-rwxr-xr-xtests/t9010-big-sector.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/t9010-big-sector.sh b/tests/t9010-big-sector.sh
index 96ae20e..dfbbe71 100755
--- a/tests/t9010-big-sector.sh
+++ b/tests/t9010-big-sector.sh
@@ -25,10 +25,7 @@ fi
. $srcdir/t-lib.sh
require_root_
-
-# check for scsi_debug module
-modprobe -n scsi_debug ||
- skip_test_ "you lack the scsi_debug kernel module"
+require_scsi_debug_module_
grep '^#define USE_BLKID 1' "$CONFIG_HEADER" > /dev/null ||
skip_test_ 'this system lacks a new-enough libblkid'