Skip to contentSkip to conversation

master - functional tests: Update have_raid function

PATCH Joe Thornber 1 participant 1 message May 3, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=52656c89fd6e7655b0599e20f90cc9d70561f1fb
Commit:        52656c89fd6e7655b0599e20f90cc9d70561f1fb
Parent:        9cab0057971eea27f31c8e3b2a83d69337d0155d
Author:        Joe Thornber <[email protected]>
AuthorDate:    Thu May 3 14:22:24 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Thu May 3 14:22:24 2018 +0100

functional tests: Update have_raid function

No need to check if it's built in.

---
 test/lib/aux.sh |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
test/lib/aux.sh +0 -4
index e44116f..2984af3 100644
@@ -1492,10 +1492,6 @@ have_thin() {
 }
 
 have_raid() {
-	test "$RAID" = shared -o "$RAID" = internal || {
-		echo "Raid is not built-in." >&2
-		return 1;
-	}
 	target_at_least dm-raid "$@"
 
 	# some kernels have broken mdraid bitmaps, don't use them!