Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Mon, 11 Apr 2005 16:58:16 +0000 (16:58 +0000)
committeradilger <adilger>
Mon, 11 Apr 2005 16:58:16 +0000 (16:58 +0000)
list which modules are still loaded.
b=6133

lustre/tests/conf-sanity.sh

index 0026388..e0fde5d 100644 (file)
@@ -89,9 +89,10 @@ cleanup() {
        stop_mds $FORCE || return 201
        stop_ost $FORCE || return 202
        # catch case where these return just fine, but modules are still not unloaded
-       /sbin/lsmod | grep -q portals
+       /sbin/lsmod | egrep -q "portals|libcfs"
        if [ 1 -ne $? ]; then
                echo "modules still loaded..."
+               /sbin/lsmod
                return 203
        fi
 }