mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +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:
parent
f55dc3006e
commit
d12e843e4a
@ -829,7 +829,7 @@ mdadm_assemble() {
|
|||||||
STRACE="strace -f -o /dev/null"
|
STRACE="strace -f -o /dev/null"
|
||||||
}
|
}
|
||||||
|
|
||||||
$STRACE mdadm --assemble "$@"
|
$STRACE mdadm --assemble "$@" || { test -n "$STRACE" && skip "Timing failure" ; false ; }
|
||||||
udev_wait
|
udev_wait
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user