From: tappro Date: Fri, 8 Sep 2006 11:45:32 +0000 (+0000) Subject: force unloading the ..._test modules X-Git-Tag: v1_8_0_110~486^2~981 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=722eb84df72fd7a8a66d2c44fb4e402d1ba6b065;p=fs%2Flustre-release.git force unloading the ..._test modules --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 8993b68..dfc8daa 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -137,6 +137,7 @@ load_modules() { unload_modules() { lsmod | grep lnet > /dev/null && $LCTL dl && $LCTL dk $TMP/debug local MODULES=$($LCTL modules | awk '{ print $2 }') + rmmod ldiskfs/quotafmt_test obdclass/llog_test quota/quotactl_test quota/quotacheck_test 2>&1 || true rmmod $MODULES >/dev/null 2>&1 || true # do it again, in case we tried to unload ksocklnd too early MODULES=$($LCTL modules | awk '{ print $2 }')