]> git.neil.brown.name Git - mdadm.git/commit
mdadm/tests: judge foreign array in test cases
authorXiao Ni <xni@redhat.com>
Fri, 14 Jun 2024 02:45:01 +0000 (10:45 +0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Thu, 20 Jun 2024 11:45:15 +0000 (13:45 +0200)
commit23aef35113553cb97ef2e7b01c760d5449592e14
tree8fcb3ecd157faf5370f95602f05aa7f91993b81e
parent027b2d37a8cd56973d117107acc25a64cfe0a92f
mdadm/tests: judge foreign array in test cases

It needs to use array name when judging if one array is foreign or not.
So calling is_raid_foreign in test cases which need it.

Fixes: 41706a915684 ('mdadm/tests: names_template enhance')
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
tests/03assem-incr
tests/06name
tests/07autoassemble
tests/func.sh
tests/templates/names_template