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@suse.de>
This commit is contained in:
NeilBrown 2009-10-19 16:56:13 +11:00
parent d16c7af6d8
commit 2e48e34945
1 changed files with 1 additions and 0 deletions

1
test
View File

@ -161,6 +161,7 @@ no_errors() {
# basic device test
testdev() {
udevadm settle
dev=$1
cnt=$2
dvsize=$3