Commit 61305a50 authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

Add delay=0 parameter to scsi_debug in all tests.

Speed up tests significantly.
parent 1d7749a4
......@@ -36,7 +36,7 @@ skip()
}
add_device() {
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
......@@ -39,7 +39,7 @@ skip()
}
add_device() {
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
......@@ -60,7 +60,7 @@ skip()
}
add_device() {
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
......@@ -20,7 +20,7 @@ fail()
}
add_device() {
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
......@@ -83,7 +83,7 @@ function test_and_prepare_keyring() {
}
add_device() {
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
......@@ -52,7 +52,7 @@ function skip()
function add_scsi_device() {
del_scsi_device
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
......@@ -67,7 +67,7 @@ function skip()
function add_scsi_device() {
del_scsi_device
modprobe scsi_debug $@
modprobe scsi_debug $@ delay=0
if [ $? -ne 0 ] ; then
echo "This kernel seems to not support proper scsi_debug module, test skipped."
exit 77
......
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