Commit 4e4d933d authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

fix reencryption tests failure with older grep

parent 91c73995
......@@ -52,7 +52,7 @@ function add_scsi_device() {
fi
sleep 2
SCSI_DEV="/dev/"$(grep scsi_debug /sys/block/*/device/model | cut -f4 -d /)
SCSI_DEV="/dev/"$(grep -l -e scsi_debug /sys/block/*/device/model | cut -f4 -d /)
[ -b $SCSI_DEV ] || fail "Cannot find $SCSI_DEV."
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment