summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
authorRuediger Meier2015-12-15 16:43:29 +0100
committerKarel Zak2016-01-05 12:21:55 +0100
commit01b38917ad2006f71748b8c1e326db9eaf45867d (patch)
treef85a54f6093dcc07ec215e1bd480ed5c768cb8fc /tests/functions.sh
parenttests: use sfdisk --no-reread wherever it's needed (diff)
downloadkernel-qcow2-util-linux-01b38917ad2006f71748b8c1e326db9eaf45867d.tar.gz
kernel-qcow2-util-linux-01b38917ad2006f71748b8c1e326db9eaf45867d.tar.xz
kernel-qcow2-util-linux-01b38917ad2006f71748b8c1e326db9eaf45867d.zip
tests: no more sleep, udevadm settle only
This seems to work nowadays and saves 37s. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index e84661b0c..f6c4d33ee 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -641,7 +641,6 @@ function ts_scsi_debug_init {
lsmod | grep -q "^scsi_debug " \
|| ts_skip "scsi_debug module not loaded (lsmod)"
- sleep 1
udevadm settle
devname=$(grep --with-filename scsi_debug /sys/block/*/device/model | awk -F '/' '{print $4}')