]> sourceware.org Git - lvm2.git/commitdiff
Disable the rather-dangerous prepare_scsi_debug_dev in the testsuite.
authorPetr Rockai <prokai@redhat.com>
Tue, 13 Apr 2010 07:02:14 +0000 (07:02 +0000)
committerPetr Rockai <prokai@redhat.com>
Tue, 13 Apr 2010 07:02:14 +0000 (07:02 +0000)
test/test-utils.sh

index 69165bac266ac15bdc816ce22d911b77486c886b..5c6f9a4b9f923aedffb25ac0378d82ea69065c6f 100644 (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="$@"
This page took 0.038582 seconds and 5 git commands to generate.