From 00d9bf8107b47e51fc966dd5bd78789190c6e846 Mon Sep 17 00:00:00 2001 From: Jonathan Brassow Date: Tue, 17 Jul 2012 10:50:21 -0500 Subject: [PATCH] TEST (lvresize-raid): Don't run test when RAID module doesn't exist Check for RAID module and skip test if not there. --- test/shell/lvresize-raid.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/shell/lvresize-raid.sh b/test/shell/lvresize-raid.sh index c6c5dd113..ea5cc80a6 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