diff options
author | NeilBrown <neilb@suse.de> | 2012-10-31 07:02:35 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-11-20 02:08:03 +0100 |
commit | bde085f411acfc236fc06f074ffb7ccfe4f836b3 (patch) | |
tree | 86b91e3aa7a11e68746c873c407bac2aa7c2d87b /test | |
parent | IMSM - allow assembling any imsm array even without OROM. (diff) | |
download | mdadm-bde085f411acfc236fc06f074ffb7ccfe4f836b3.tar.xz mdadm-bde085f411acfc236fc06f074ffb7ccfe4f836b3.zip |
test: add --disable-integrity switch.
The integrity tests are very slow and aren't always needed.
So make them optional.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,6 +26,7 @@ modprobe multipath 2> /dev/null if grep -s 'Personalities : .*multipath' > /dev/null /proc/mdstat ; then MULTIPATH="yes" fi +INTEGRITY=yes # assume md0, md1, md2 exist in /dev md0=/dev/md0 md1=/dev/md1 md2=/dev/md2 @@ -254,6 +255,7 @@ do_help() { echo " Options:" echo " --tests=<test1,test2,..> Comma separated list of tests to run" echo " --disable-multipath Disable any tests involving multipath" + echo " --disable-integrity Disable slow tests of RAID[56] consistency" echo " --logdir=<directory> Directory to save logfiles in" echo " --save-logs Save all logs in <logdir>" echo " --keep-going Don't stop on error, ie. run all tests" @@ -299,6 +301,9 @@ parse_args() { --disable-multipath) unset MULTIPATH ;; + --disable-integrity) + unset INTEGRITY + ;; --help) do_help exit 0; |