1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: aux mdadm_assemble skip path

If the old mdadm fails to assembly array due to its internal buggy logic
skip the test instead of failure.
This commit is contained in:
Zdenek Kabelac 2023-10-16 00:11:35 +02:00
parent f55dc3006e
commit d12e843e4a

View File

@ -829,7 +829,7 @@ mdadm_assemble() {
STRACE="strace -f -o /dev/null"
}
$STRACE mdadm --assemble "$@"
$STRACE mdadm --assemble "$@" || { test -n "$STRACE" && skip "Timing failure" ; false ; }
udev_wait
}