mdadm/tests
Czarnowska, Anna f6539edf2e Spare migration tests updated
Added tests for cases when:
0  - there is no config file at all
0a - config file has no domains defined
9a - spare is in global domain
15 - spare is in global domain for $platform metadata

Test 4 pass condition changed for imsm metadata.

disk_policy only adds controller domain for imsm
when config_rules_has_path=1.
If there are any domains in config then every disk will have also
a controller domain.
As a result the array needing spares has at least
one controller domain even when it doesn't have any other
domains specified explicitly. In this case any spare in the same
controller domain matches when it has no other domains from config.
(This behaviour is different from the case when there is no paths
in config at all as array domain then is null and no spare matches)

Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2011-02-08 11:44:50 +11:00
..
01r1fail Manage: be more careful about --add attempts. 2010-11-22 19:35:25 +11:00
01r5fail
01r5integ
01raid6integ
02lineargrow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r1add Fix but when assembling v1 arrays 2005-08-15 06:35:38 +00:00
02r1grow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r5grow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
02r6grow tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
03r5assem Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
03r5assemV1
03r0assem tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
04r1update
04r0update Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
05r1-bitmapfile tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-grow-external tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-grow-internal tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-grow-internal-1 Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap-v1a Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap-v1b Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-internalbitmap-v1c Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r1-n3-bitmapfile Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
05r1-re-add tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
05r1-re-add-nosuper
05r5-bitmapfile Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
05r5-internalbitmap Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
05r6-bitmapfile Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
06name
06r5swap Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
06sysfs
06update-uuid Set default bitmap-chunksize for internal bitmaps to at least 64Meg 2009-11-17 13:15:34 +11:00
06wrmostly tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
07autoassemble tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
07autodetect udevadm settle in autodetect test 2010-08-05 16:50:03 +10:00
07changelevelintr
07changelevels tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
07layouts Fix tests/layouts 2010-07-29 14:20:35 +10:00
07reshape5intr Fix writing of second backup superblock during grow 2010-08-05 21:39:17 +10:00
07testreshape5 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
08imsm-overlap test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
09imsm-assemble tests: add IMSM_NO_PLATFORM to some places that were missing it. 2011-02-01 14:44:02 +11:00
09imsm-create-fail-rebuild tests: add IMSM_NO_PLATFORM to some places that were missing it. 2011-02-01 14:44:02 +11:00
10ddf-create Create: report failure if array cannot be started. 2010-12-01 11:03:28 +11:00
11spare-migration Spare migration tests updated 2011-02-08 11:44:50 +11:00
12imsm-r5_3d-grow-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r5_3d-grow-r5_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_2d-grow-r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
12imsm-r0_3d-grow-r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r5_r0_3d-grow-r5_r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r5_r0_3d-grow-r5_r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r5_3d-grow-r0_r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r5_3d-grow-r0_r5_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r0_2d-grow-r0_r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r0_2d-grow-r0_r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
13imsm-r0_r0_3d-grow-r0_r0_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r1_2d-grow-r1_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r1_2d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r5_3d-grow-r5_5d-no-spares test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r5_3d-migrate-r4_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r10_4d-grow-r10_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r10_r5_4d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_3d_no_spares-migrate-r5_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_3d-r5_3d-migrate-r5_4d-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
14imsm-r0_r0_2d-takeover-r10_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_3d_4k-migrate-r5_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_3d_64k-migrate-r5_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_6d_4k-migrate-r5_6d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r5_r0_3d_64k-migrate-r5_r0_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
15imsm-r0_3d_64k-migrate-r0_3d_256k test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r5_3d-migrate-r0_3d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r5_5d-migrate-r0_5d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r0_3d-migrate-r5_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
16imsm-r0_5d-migrate-r5_6d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-1d-takeover-r1_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-1d-takeover-r0_1d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-r10_4d-takeover-r0_2d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
18imsm-r0_2d-takeover-r10_4d test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
00linear tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00multipath tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid0 tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid1 tests: adjust sizes for new defaults 2010-03-10 15:56:01 +11:00
00raid4 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00raid5 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00raid6 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
00raid10 Change default metadata from 0.90 to 1.1 2009-11-17 13:15:32 +11:00
check
env-imsm-template test: remove all the environment handling. 2011-02-01 14:43:59 +11:00
imsm-grow-template Enable tests for OLCE, takeover, migrations for imsm metadata 2010-12-26 21:59:14 +11:00
testdev
ToTest
utils Spare migration tests 2010-11-29 09:43:29 +11:00