From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- tests/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functions.sh b/tests/functions.sh index e639e73..6c29053 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -647,6 +647,7 @@ function ts_scsi_debug_init { || ts_skip "scsi_debug module not loaded (lsmod)" udevadm settle + sleep 1 devname=$(grep --with-filename scsi_debug /sys/block/*/device/model | awk -F '/' '{print $4}') [ "x${devname}" == "x" ] && ts_die "cannot find scsi_debug device" -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html