Commit cd2a1a16 authored by Milan Broz's avatar Milan Broz

Skip test if scsi_debug is not available.

parent 59b5f360
......@@ -118,7 +118,7 @@ if [ $(id -u) != 0 ]; then
exit 77
fi
modprobe --dry-run scsi_debug || exit 0
modprobe --dry-run scsi_debug || exit 77
cleanup
echo "# Create desktop-class 4K drive"
......
......@@ -52,7 +52,7 @@ if [ $(id -u) != 0 ]; then
exit 77
fi
modprobe --dry-run scsi_debug || exit 0
modprobe --dry-run scsi_debug || exit 77
modprobe dm-crypt >/dev/null 2>&1
if ! check_version ; then
echo "Probably old kernel, test skipped."
......
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