summaryrefslogtreecommitdiffstats
path: root/tests/ts/losetup/losetup-blkdev
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/losetup/losetup-blkdev')
-rwxr-xr-xtests/ts/losetup/losetup-blkdev4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/losetup/losetup-blkdev b/tests/ts/losetup/losetup-blkdev
index 9c6f7ff28..4e0f95de2 100755
--- a/tests/ts/losetup/losetup-blkdev
+++ b/tests/ts/losetup/losetup-blkdev
@@ -42,6 +42,7 @@ if [ -z "$LODEV" ]; then
ts_log "Failed to create loop device"
fi
lo_print $LODEV >> $TS_OUTPUT
+udevadm settle
$TS_CMD_LOSETUP -d $LODEV
ts_finalize_subtest
@@ -51,6 +52,7 @@ if [ -z "$LODEV" ]; then
ts_log "Failed to create loop device"
fi
lo_print $LODEV >> $TS_OUTPUT
+udevadm settle
$TS_CMD_LOSETUP -d $LODEV
ts_finalize_subtest
@@ -61,6 +63,7 @@ if [ -z "$LODEV" ]; then
ts_log "Failed to create loop device"
fi
lo_print $LODEV >> $TS_OUTPUT
+udevadm settle
$TS_CMD_LOSETUP -d $LODEV
ts_finalize_subtest
@@ -71,6 +74,7 @@ if [ -z "$LODEV" ]; then
ts_log "Failed to create loop device"
fi
lo_print $LODEV >> $TS_OUTPUT
+udevadm settle
$TS_CMD_LOSETUP -d $LODEV
ts_finalize_subtest