summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-10-11 04:10:00 +0000
committerNeil Brown <neilb@suse.de>2005-10-11 04:10:00 +0000
commit5a6d7f456ad67779321d8aa81203f70bcc56a0a5 (patch)
treef71503753ca10d3fa16334afcbcfe97835c1547b /test
parent296679da5acd1509203431299873645eaf734fa8 (diff)
downloadmdadm-5a6d7f456ad67779321d8aa81203f70bcc56a0a5.tar.gz
Add 'setup' option to 'test'
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'test')
-rw-r--r--test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test b/test
index 2b5306e..307bfb8 100644
--- a/test
+++ b/test
@@ -57,6 +57,9 @@ done
path0=$dev6
path1=$dev7
+if [ " $1" = " setup" ]
+then trap 0 ; exit 0
+fi
# mdadm always adds --quiet, and we want to see any unexpected messages
mdadm() {