Change test module to non-crypto ones

The crypto modules in load tests are replaced with driver modules
for testing in order to avoid destroying system under some crypto
enabled status.

Signed-off-by: Ziqian SUN (Zamir) <zsun@redhat.com>
This commit is contained in:
Ziqian SUN (Zamir) 2017-12-28 10:08:59 +08:00
parent a471736377
commit e688c2e266

View File

@ -63,8 +63,8 @@ function kmod_load_insmod()
function kmod_load_modprobe()
{
rlRun "modprobe tea"
rlRun "modprobe -r tea"
rlRun "modprobe tun"
rlRun "modprobe -r tun"
}
function kmod_modinfo()
@ -96,7 +96,7 @@ RunKmod() {
rlJournalStart
rlPhaseStartSetup
mod_list="/kernel/crypto/tgr192.ko /kernel/net/wireless/lib80211.ko /kernel/net/wireless/ath/ath9k/ath9k.ko /kernel/crypto/tgr192.ko.xz /kernel/net/wireless/lib80211.ko.xz /kernel/net/wireless/ath/ath9k/ath9k.ko.xz"
mod_list="/kernel/net/ipv4/udp_tunnel.ko /kernel/net/wireless/lib80211.ko /kernel/net/wireless/ath/ath9k/ath9k.ko /kernel/net/ipv4/udp_tunnel.ko.xz /kernel/net/wireless/lib80211.ko.xz /kernel/net/wireless/ath/ath9k/ath9k.ko.xz"
if [[ -L /lib && -d /lib ]]; then
mod_path=/usr/lib/modules/`uname -r`/
else