From: Petr Rockai Date: Tue, 13 Apr 2010 07:02:14 +0000 (+0000) Subject: Disable the rather-dangerous prepare_scsi_debug_dev in the testsuite. X-Git-Tag: old-v2_02_63~31 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=698dfbf95358c249d60a6699959a00a30cad52fe;p=lvm2.git Disable the rather-dangerous prepare_scsi_debug_dev in the testsuite. --- diff --git a/test/test-utils.sh b/test/test-utils.sh index 69165bac2..5c6f9a4b9 100644 --- a/test/test-utils.sh +++ b/test/test-utils.sh @@ -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="$@"