summaryrefslogtreecommitdiff
path: root/tests/11spare-migration
diff options
context:
space:
mode:
authorLabun, Marcin <Marcin.Labun@intel.com>2011-01-28 16:48:33 +0000
committerNeilBrown <neilb@suse.de>2011-01-31 11:36:25 +1100
commitc7cb34136a8d087d3098262dbb71cf90588da583 (patch)
treeb4e1a8d3f4b9ddb3078c76df35f0b898b0b4d5ef /tests/11spare-migration
parent61a31627c6b8ef32cfb4bc1957d724669ec584c8 (diff)
11spare-migration: pass conditions for tests 9 and 12 should be reversed
Test 9: We do not block spare migration between different metadatas. test 13: Migrated spare must belong the same domain as destination - there is no additional condition for action. Signed-off-by: Marcin Labun <marcin.labun@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/11spare-migration')
-rw-r--r--tests/11spare-migration8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/11spare-migration b/tests/11spare-migration
index 02d19fa8..01693e4b 100644
--- a/tests/11spare-migration
+++ b/tests/11spare-migration
@@ -232,7 +232,7 @@ tidyup
test9()
{
-dsc "Test 9: imsm and native 1.2 - spare should not be shared"
+dsc "Test 9: imsm and native 1.2 - spare should be shared"
setupdevs 0 10 11 imsm
setupdevs 1 8 9 1.2
createconfig a
@@ -240,7 +240,7 @@ createconfig domain0 noplatform spare 8 9 10 11 12
monitor 0 1
mdadm -a /dev/$c1 $dev12
mdadm --fail /dev/$v0 $dev10
-chksparemoved $c1 $c0 $dev12 n
+chksparemoved $c1 $c0 $dev12
tidyup
}
@@ -303,7 +303,7 @@ tidyup
test13()
{
-dsc "Test 13: Common domain, two containers, fail a disk in container, action is below spare, the spare should not be moved"
+dsc "Test 13: Common domain, two containers, fail a disk in container, action is below spare, the spare should be moved regadless of action"
setupdevs 0 0 1 $platform
setupdevs 1 4 5 $platform
# same domain but different action on 4 5 6
@@ -313,7 +313,7 @@ createconfig domain-$platform $platform include 4 5 6
monitor 0 1
mdadm -a /dev/$c1 $dev6
mdadm --fail /dev/$v0 $dev0
-chksparemoved $c1 $c0 $d6 n
+chksparemoved $c1 $c0 $d6
tidyup
}