]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
env-11spare-migration: imsm requires IMSM_NO_PLATFORM set with loop devices
authorLabun, Marcin <Marcin.Labun@intel.com>
Fri, 28 Jan 2011 16:48:27 +0000 (16:48 +0000)
committerNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 00:35:25 +0000 (11:35 +1100)
By default IMSM checks if member device belongs to AHCI or ISCI controller.
When using loop devices one must disable these checks by setting
IMSM_NO_PLATFORM.

Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
tests/env-11spare-migration

index 7bf468d6d95e96e3c63ffd763c512d4a61bb8955..d5eb76d3d99f76d304b424322c8c8f5bb7c733ed 100644 (file)
@@ -1,9 +1,11 @@
 setup_env() {
        export IMSM_DEVNAME_AS_SERIAL=1
        export IMSM_TEST_OROM=1
+       export IMSM_NO_PLATFORM=1
        }
 
 reset_env() {
        unset IMSM_DEVNAME_AS_SERIAL
        unset IMSM_TEST_OROM
+       unset IMSM_NO_PLATFORM
 }