summaryrefslogtreecommitdiffstats
path: root/tests/ts/eject
diff options
context:
space:
mode:
authorKarel Zak2015-02-19 12:36:52 +0100
committerKarel Zak2015-02-19 12:36:52 +0100
commit71b74ca7926732e7e8318eca3f35f8f92afc0f65 (patch)
treea5c25f5a782e81d07df6a655c0dcf0901ee769c6 /tests/ts/eject
parentdocs: add cfdisk auto-sort to TODO file (diff)
downloadkernel-qcow2-util-linux-71b74ca7926732e7e8318eca3f35f8f92afc0f65.tar.gz
kernel-qcow2-util-linux-71b74ca7926732e7e8318eca3f35f8f92afc0f65.tar.xz
kernel-qcow2-util-linux-71b74ca7926732e7e8318eca3f35f8f92afc0f65.zip
tests: scsi_debug workaround
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/eject')
-rwxr-xr-xtests/ts/eject/umount2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/eject/umount b/tests/ts/eject/umount
index 9058c59ab..1a023a6b8 100755
--- a/tests/ts/eject/umount
+++ b/tests/ts/eject/umount
@@ -48,6 +48,7 @@ EOF
function deinit_device {
udevadm settle
+ sleep 1
rmmod scsi_debug
}
@@ -58,6 +59,7 @@ $TS_CMD_EJECT --force $TS_DEVICE && ts_log "Success"
deinit_device
ts_finalize_subtest
+
ts_init_subtest "by-disk-mounted"
init_device
mkfs.ext2 -q -F $TS_DEVICE