summaryrefslogtreecommitdiffstats
path: root/tests/ts/losetup/losetup-blkdev
diff options
context:
space:
mode:
authorKarel Zak2016-03-09 15:08:50 +0100
committerKarel Zak2016-03-09 15:08:50 +0100
commitedcf032b30994256f79d531e92b4a51a4f720e78 (patch)
tree19f61e6ceb0a9ba8b7acab1eef7093a84ca81082 /tests/ts/losetup/losetup-blkdev
parentMerge branch 'port-osx' of https://github.com/rudimeier/util-linux (diff)
parenttests: fix non-working udevadm settle for scsi_debug (diff)
downloadkernel-qcow2-util-linux-edcf032b30994256f79d531e92b4a51a4f720e78.tar.gz
kernel-qcow2-util-linux-edcf032b30994256f79d531e92b4a51a4f720e78.tar.xz
kernel-qcow2-util-linux-edcf032b30994256f79d531e92b4a51a4f720e78.zip
Merge branch 'test-fixes' of https://github.com/rudimeier/util-linux
* 'test-fixes' of https://github.com/rudimeier/util-linux: tests: fix non-working udevadm settle for scsi_debug tests: hotfix, wait for scsi_debug partion tests: don't use mkfs.btrfs option -f tests: ignore swapon warnings tests: udevadm settle before losetup -d
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