diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-02 15:33:15 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-03 16:50:25 +0100 |
commit | 36135265261029039c9dd208baff414ee044d286 (patch) | |
tree | 83fcf2b81eed177b2507f7be540eb4d7647f1c35 /tests/t9010-big-sector.sh | |
parent | 39f768945b4b4ae750ba2181794bf99da969b55b (diff) | |
download | parted-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-x | tests/t9010-big-sector.sh | 5 |
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' |