diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2012-07-17 10:50:21 -0500 |
---|---|---|
committer | Jonathan Brassow <jbrassow@redhat.com> | 2012-07-17 10:50:21 -0500 |
commit | 00d9bf8107b47e51fc966dd5bd78789190c6e846 (patch) | |
tree | dc7e036ea26933103660dee15367164dd03e6430 /test | |
parent | 3f5cdf20cd65173cc36f765ebe68134299c9cbc8 (diff) | |
download | lvm2-00d9bf8107b47e51fc966dd5bd78789190c6e846.tar.gz lvm2-00d9bf8107b47e51fc966dd5bd78789190c6e846.tar.xz lvm2-00d9bf8107b47e51fc966dd5bd78789190c6e846.zip |
TEST (lvresize-raid): Don't run test when RAID module doesn't exist
Check for RAID module and skip test if not there.
Diffstat (limited to 'test')
-rw-r--r-- | test/shell/lvresize-raid.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/shell/lvresize-raid.sh b/test/shell/lvresize-raid.sh index c6c5dd11..ea5cc80a 100644 --- a/test/shell/lvresize-raid.sh +++ b/test/shell/lvresize-raid.sh @@ -11,6 +11,8 @@ . lib/test +aux target_at_least dm-raid 1 1 0 || skip + aux prepare_vg 5 80 # Extend a 2-way RAID1 |