[lvm-devel] master - functional tests: Update have_raid function
Joe Thornber
thornber at sourceware.org
Thu May 3 13:23:45 UTC 2018
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=52656c89fd6e7655b0599e20f90cc9d70561f1fb
Commit: 52656c89fd6e7655b0599e20f90cc9d70561f1fb
Parent: 9cab0057971eea27f31c8e3b2a83d69337d0155d
Author: Joe Thornber <ejt at redhat.com>
AuthorDate: Thu May 3 14:22:24 2018 +0100
Committer: Joe Thornber <ejt at 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!
More information about the lvm-devel
mailing list