All of lore.kernel.org
 help / color / mirror / Atom feed
* master - functional tests: Update have_raid function
@ 2018-05-03 13:23 Joe Thornber
  0 siblings, 0 replies; only message in thread
From: Joe Thornber @ 2018-05-03 13:23 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=52656c89fd6e7655b0599e20f90cc9d70561f1fb
Commit:        52656c89fd6e7655b0599e20f90cc9d70561f1fb
Parent:        9cab0057971eea27f31c8e3b2a83d69337d0155d
Author:        Joe Thornber <ejt@redhat.com>
AuthorDate:    Thu May 3 14:22:24 2018 +0100
Committer:     Joe Thornber <ejt@redhat.com>
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(-)

diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index e44116f..2984af3 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -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!



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-03 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 13:23 master - functional tests: Update have_raid function Joe Thornber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.