]> git.ipfire.org Git - thirdparty/mdadm.git/commit
test: run tests on system level mdadm
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Tue, 20 Feb 2024 16:04:44 +0000 (17:04 +0100)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 23 Feb 2024 11:49:16 +0000 (12:49 +0100)
commit4c12714d1ca06533fe7a887966df2558fd2f96b2
tree0d97bec05172e822a4e3cbc64233d1c84650ed37
parentc8772da4b53307546a9a374507bcec3398fc82c4
test: run tests on system level mdadm

The tests run with MDADM_NO_SYSTEMCTL flag by default, however it has
no effect on udev. In case of external metadata, even if flag is set,
udev will trigger systemd to launch mdmon.

This commit changes test execution level, so the tests are run on system
level mdadm, meaning local build must be installed prior to running
tests.

Add warning that the tests are run on system level mdadm and local
build must be installed first.

Do not call mdadm with "quiet" as it makes it not display critical
messages necessary for debug.

Remove forcing speed_limit and add restoring system speed_limit_max
after test execution.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
test
tests/func.sh