diff options
author | Ruediger Meier | 2015-12-15 16:43:29 +0100 |
---|---|---|
committer | Karel Zak | 2016-01-05 12:21:55 +0100 |
commit | 01b38917ad2006f71748b8c1e326db9eaf45867d (patch) | |
tree | f85a54f6093dcc07ec215e1bd480ed5c768cb8fc /tests/functions.sh | |
parent | tests: use sfdisk --no-reread wherever it's needed (diff) | |
download | kernel-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.sh | 1 |
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}') |