[lvm-devel] LVM2/test test-utils.sh
mornfall at sourceware.org
mornfall at sourceware.org
Tue Apr 13 07:02:15 UTC 2010
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-04-13 07:02:15
Modified files:
test : test-utils.sh
Log message:
Disable the rather-dangerous prepare_scsi_debug_dev in the testsuite.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/test-utils.sh.diff?cvsroot=lvm2&r1=1.34&r2=1.35
--- LVM2/test/test-utils.sh 2010/04/13 06:24:20 1.34
+++ LVM2/test/test-utils.sh 2010/04/13 07:02:14 1.35
@@ -194,6 +194,12 @@
# - 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="$@"
More information about the lvm-devel
mailing list