]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/units/testsuite-64.sh
test: mask the mdmonitor.service
[thirdparty/systemd.git] / test / units / testsuite-64.sh
index 81edb0ab7a154bf8c50f2a0b3a8f020407d70fb8..0e598cc6b3ec3523673ef1e9d2d44327b7c7b358 100755 (executable)
@@ -1159,6 +1159,10 @@ testcase_mdadm_lvm() {
     helper_check_device_units
 }
 
+# Disable the mdmonitor service, since it fails if there's no valid email address
+# configured in /etc/mdadm.conf, which just unnecessarily pollutes the logs
+systemctl list-unit-files mdmonitor.service >/dev/null && systemctl mask --runtime mdmonitor.service
+
 udevadm settle
 udevadm control --log-level debug
 lsblk -a