From: Xiao Ni Date: Thu, 8 May 2025 04:45:32 +0000 (+0800) Subject: mdadm/tests: mark 10ddf-fail-two-spares broken X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=882c8fda76772573acf2000a850106a09413d2e9;p=thirdparty%2Fmdadm.git mdadm/tests: mark 10ddf-fail-two-spares broken Sometimes 10ddf-fail-two-spares fail because: ++ grep -q 'state\[1\] : Optimal, Consistent' /tmp/mdtest-5k3MzO ++ echo ERROR: /dev/md/vol1 should be optimal in meta data ERROR: /dev/md/vol1 should be optimal in meta data Mark this as broken. Signed-off-by: Xiao Ni --- diff --git a/tests/10ddf-fail-two-spares.broken b/tests/10ddf-fail-two-spares.broken new file mode 100644 index 00000000..d0158c04 --- /dev/null +++ b/tests/10ddf-fail-two-spares.broken @@ -0,0 +1,11 @@ +Sometimes + +++ grep -q 'state\[0\] : Optimal, Consistent' /tmp/mdtest-5k3MzO +++ grep -q 'state\[1\] : Optimal, Consistent' /tmp/mdtest-5k3MzO +++ echo ERROR: /dev/md/vol1 should be optimal in meta data +ERROR: /dev/md/vol1 should be optimal in meta data + +if ! grep -q 'state\[1\] : Optimal, Consistent' $tmp; then + echo ERROR: $member1 should be optimal in meta data + ret=1 +fi