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 <neilb@suse.de>
This commit is contained in:
NeilBrown 2009-04-07 17:50:34 +10:00
parent 03b7f6c6bd
commit 7f15ccce53
1 changed files with 2 additions and 0 deletions

2
test
View File

@ -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