]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: scsi_debug workaround
authorKarel Zak <kzak@redhat.com>
Thu, 19 Feb 2015 11:36:52 +0000 (12:36 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Feb 2015 11:36:52 +0000 (12:36 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/eject/umount

index 9058c59ab8b90bb3b15cd474239b0fe76b34f276..1a023a6b801f0ec5290b628a414d1c02afc64deb 100755 (executable)
@@ -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