]> sourceware.org Git - lvm2.git/commitdiff
functional tests: Update have_raid function
authorJoe Thornber <ejt@redhat.com>
Thu, 3 May 2018 13:22:24 +0000 (14:22 +0100)
committerJoe Thornber <ejt@redhat.com>
Thu, 3 May 2018 13:22:24 +0000 (14:22 +0100)
No need to check if it's built in.

test/lib/aux.sh

index e44116ff6f970dc21165175307af6c08e7fb3866..2984af3876f04c09bb27a4cc24118e3751a9ae31 100644 (file)
@@ -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!
This page took 0.036718 seconds and 5 git commands to generate.