diff options
author | Chase Qi <chase.qi@linaro.org> | 2015-06-30 00:37:10 +0800 |
---|---|---|
committer | Chase Qi <chase.qi@linaro.org> | 2015-06-30 04:00:47 +0000 |
commit | 9737b165b1301905e35b96514ca2096d595efc5f (patch) | |
tree | 6e5b7712a898c85dab02d3bd72e618e593c3a671 /common | |
parent | bc7f141363534cb07eb6b012ae4043b065d3b39e (diff) |
Ubuntu: Fix rcutorture test on new Kernel
- Update test code to simply check if torture module exist in lsmod
output. On Kernel V3.18, torture module is used by rcutorture. lsmod
output list two torture modules. The current assumption on
rcutorture-module-check test is too strong.
- On kernel V3.18, because torture is using by rcutorture, 'rmmod
torture' doesn't work. The right approach is use 'modprobe -r
rcutorture'. 'modprobe -r' is smarter then rmmod. If the modules
rcutorture depends on are also unused, it will try to removed them
too.
Change-Id: I46d9184ebe300ed16fc2c7d65f5d836d24983496
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions