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:
parent
a471736377
commit
e688c2e266
@ -63,8 +63,8 @@ function kmod_load_insmod()
|
|||||||
|
|
||||||
function kmod_load_modprobe()
|
function kmod_load_modprobe()
|
||||||
{
|
{
|
||||||
rlRun "modprobe tea"
|
rlRun "modprobe tun"
|
||||||
rlRun "modprobe -r tea"
|
rlRun "modprobe -r tun"
|
||||||
}
|
}
|
||||||
|
|
||||||
function kmod_modinfo()
|
function kmod_modinfo()
|
||||||
@ -96,7 +96,7 @@ RunKmod() {
|
|||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartSetup
|
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
|
if [[ -L /lib && -d /lib ]]; then
|
||||||
mod_path=/usr/lib/modules/`uname -r`/
|
mod_path=/usr/lib/modules/`uname -r`/
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user