Whamcloud - gitweb
LU-506 tests: check lustre.conf for modprobe
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 16 Dec 2011 02:24:57 +0000 (19:24 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 13 Jan 2012 16:29:25 +0000 (11:29 -0500)
commit2353aa397a0380ee70c4c0ec202d2fccf1e447fe
tree417fc5b506a6ddfb13ab65878e7dcdbbaeb4f2ad
parent46ee0bb74eddc63f7d874ba1cf7a8b17a1b3f075
LU-506 tests: check lustre.conf for modprobe

The newer userspace modprobe requires that the /etc/modprobe.d/
files end in ".conf", so that there is no confusion between config
files that are supposed to be parsed, and files that are left
after editing (e.g. lustre.conf.orig or lustre.conf~).

Add a check for /etc/modprobe.d/lustre.conf to get lnet module
parameters during testing.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ie408f5334b2570f13e225038488df06ff7b524c4
Reviewed-on: http://review.whamcloud.com/1877
Tested-by: Hudson
Reviewed-by: Brian J. Murrell <brian@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh