NeilBrown: test: udev-settle before testing device.
Martin F. Krafft
madduck at alioth.debian.org
Tue Oct 27 19:21:37 UTC 2009
Module: mdadm
Branch: master
Commit: 2e48e349452cccefe4286449483abd8a17f2cb15
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=2e48e349452cccefe4286449483abd8a17f2cb15
Author: NeilBrown <neilb at suse.de>
Date: Mon Oct 19 16:56:13 2009 +1100
test: udev-settle before testing device.
I think we sometime get way ahead of udev and devices disappear
and appear almost at random. So add some settling.
Signed-off-by: NeilBrown <neilb at suse.de>
---
test | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/test b/test
index 133f8ff..2ceea46 100644
--- a/test
+++ b/test
@@ -161,6 +161,7 @@ no_errors() {
# basic device test
testdev() {
+ udevadm settle
dev=$1
cnt=$2
dvsize=$3
More information about the pkg-mdadm-commits
mailing list