Whamcloud - gitweb
Branch b1_6
authorbwzhou <bwzhou>
Tue, 25 Mar 2008 17:11:01 +0000 (17:11 +0000)
committerbwzhou <bwzhou>
Tue, 25 Mar 2008 17:11:01 +0000 (17:11 +0000)
b=14763

fix for t-f

lustre/tests/test-framework.sh

index 54807b4..9143f99 100644 (file)
@@ -217,7 +217,7 @@ unload_modules() {
     wait_exit_ST client # bug 12845
 
     lsmod | grep libcfs > /dev/null && $LCTL dl
-    local MODULES=$($LCTL modules | awk '{ print $2 }' | grep -v libcfs)
+    local MODULES=$($LCTL modules | awk '{ print $2 }' | grep -v libcfs) || 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 }' | grep -v libcfs) || true