Whamcloud - gitweb
LU-8832 tests: fix module loading for Parallels 60/25660/5
authorAndreas Dilger <andreas.dilger@intel.com>
Mon, 27 Feb 2017 10:54:28 +0000 (03:54 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 23 Apr 2017 03:10:52 +0000 (03:10 +0000)
commitc49c8b146fdb45ef621fbba288758611c6d35cf3
tree2eef1f44ea9a9a73425d21ee61356cf91e2b1e8b
parent80c9ba8d4070c6c106afd0362d2503324c7d0e99
LU-8832 tests: fix module loading for Parallels

It isn't possible to insmod modules directly from Parallels prl_fs
mounting a host filesystem when testing directly from a build tree
(insmod from an RPM installed in the root image filesystem works).
Instead, copy the locally-built module into /tmp before loading it.

Use load_module() in sanity.sh test_180b and run-llog.sh.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Id0123059e8151e2a78086579150f04b1b05cab07
Reviewed-on: https://review.whamcloud.com/25660
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/run-llog.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh