1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-28 02:50:41 +03:00

Disable the rather-dangerous prepare_scsi_debug_dev in the testsuite.

This commit is contained in:
Petr Rockai 2010-04-13 07:02:14 +00:00
parent 468667effa
commit cad4999faa

View File

@ -194,6 +194,12 @@ get_sd_devs_()
# - scripts must take care not to use a DEV_SIZE that will enduce OOM-killer
prepare_scsi_debug_dev()
{
# FIXME this is extremely fragile and can cause data loss if an unrelated
# SCSI device appears at a wrong time... we need the code to reliably
# identify the scsi_debug device it has created before we can re-include
# this in the testsuite
exit 200
local DEV_SIZE="$1"
shift
local SCSI_DEBUG_PARAMS="$@"