summaryrefslogtreecommitdiffstats
path: root/tests/unit-wipe-test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 08:35:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 08:35:42 +0000
commit8909d83a3ed226e4a7c962261217cb2c14ff2ec9 (patch)
tree6244f99976b171d94833db21dc498c3a89d04fe4 /tests/unit-wipe-test
parentReleasing progress-linux version 2:2.6.1-6~progress7.99u1. (diff)
downloadcryptsetup-8909d83a3ed226e4a7c962261217cb2c14ff2ec9.tar.xz
cryptsetup-8909d83a3ed226e4a7c962261217cb2c14ff2ec9.zip
Merging upstream version 2:2.7.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/unit-wipe-test')
-rwxr-xr-xtests/unit-wipe-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit-wipe-test b/tests/unit-wipe-test
index 4d0a078..a898354 100755
--- a/tests/unit-wipe-test
+++ b/tests/unit-wipe-test
@@ -41,7 +41,7 @@ function add_device()
if [ $? -ne 0 ] ; then
skip "This kernel seems to not support proper scsi_debug module."
fi
- grep -q scsi_debug /sys/block/*/device/model || sleep 2
+ sleep 1
DEV=$(grep -l -e scsi_debug /sys/block/*/device/model | cut -f4 -d /)
DEV="/dev/$DEV"
[ -b $DEV ] || fail "Cannot find $DEV."