Whamcloud - gitweb
LU-13904 tests: don't assume echo_client is a module.
[fs/lustre-release.git] / lustre / tests / sanity.sh
index c3ae827..521dc85 100755 (executable)
@@ -15778,7 +15778,8 @@ obdecho_test() {
 test_180a() {
        [ $PARALLEL == "yes" ] && skip "skip parallel run"
 
-       if ! module_loaded obdecho; then
+       if ! [ -d /sys/fs/lustre/echo_client ] &&
+          ! module_loaded obdecho; then
                load_module obdecho/obdecho &&
                        stack_trap "rmmod obdecho" EXIT ||
                        error "unable to load obdecho on client"