NeilBrown: test: minor fixes

Martin F. Krafft madduck at alioth.debian.org
Thu May 7 12:11:37 UTC 2009


Module: mdadm
Branch: debian/experimental
Commit: 7f15ccce537c4e07ce8e1919684f3d4e4feabc9e
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=7f15ccce537c4e07ce8e1919684f3d4e4feabc9e

Author: NeilBrown <neilb at suse.de>
Date:   Tue Apr  7 17:50:34 2009 +1000

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 at suse.de>

---

 test |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test b/test
index 7999f60..133f8ff 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
 




More information about the pkg-mdadm-commits mailing list