From: NeilBrown Date: Tue, 7 Apr 2009 07:50:34 +0000 (+1000) Subject: test: minor fixes X-Git-Tag: mdadm-3.0-rc1~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f15ccce537c4e07ce8e1919684f3d4e4feabc9e;p=thirdparty%2Fmdadm.git test: minor fixes - allow core files to be dumped. - modprobe md_mod if needed to write to /sys/module/md_mod/parameters/.... Signed-off-by: NeilBrown --- diff --git a/test b/test index 7999f608..133f8ff4 100644 --- a/test +++ b/test @@ -74,6 +74,8 @@ done path0=$dev6 path1=$dev7 +ulimit -c unlimited +[ -f /proc/mdstat ] || modprobe md_mod echo 2000 > /proc/sys/dev/raid/speed_limit_max echo 0 > /sys/module/md_mod/parameters/start_ro