From cf8bcba34c96eddec00cce2892c23357b3cbf06f Mon Sep 17 00:00:00 2001 From: "Ziqian SUN (Zamir)" Date: Thu, 28 Dec 2017 10:08:59 +0800 Subject: [PATCH] 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. Resolves: RHEL-8903 Signed-off-by: Ziqian SUN (Zamir) --- tests/sanity/runtest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sanity/runtest.sh b/tests/sanity/runtest.sh index 14bb3ac..a0888d4 100755 --- a/tests/sanity/runtest.sh +++ b/tests/sanity/runtest.sh @@ -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