]> git.ipfire.org Git - thirdparty/mdadm.git/commit - test
mdadm/test: Add '--disks=' to support testing phsical devices
authorZhilong Liu <zlliu@suse.com>
Wed, 14 Jun 2017 13:02:53 +0000 (21:02 +0800)
committerJes Sorensen <jsorensen@fb.com>
Mon, 10 Jul 2017 17:37:54 +0000 (13:37 -0400)
commit25357919d227fd907e4da167d0e07f33f9c94bca
treef249d79acb4c0b488cb13cc3503c10dff35e7d41
parent8403b202ca3cd390589a26a85a7ee9af1cc7c69b
mdadm/test: Add '--disks=' to support testing phsical devices

If test mode has set as '--dev=disk', then users can specify
the argument of "--disks" to test a bunch of physical devices.
For example: ./test --dev=disk --disks=/dev/sda{2..15}
could execute all test cases on physical devices.

Currently, the --dev=disk mode would confilct with testdev()
in current test cases, thus ignore testing testdev() if has
set --dev=disk mode.

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
test