Whamcloud - gitweb
b=17827
authorgrev <grev>
Wed, 10 Dec 2008 09:36:24 +0000 (09:36 +0000)
committergrev <grev>
Wed, 10 Dec 2008 09:36:24 +0000 (09:36 +0000)
i=H.Huang
run lsof fix

lustre/tests/test-framework.sh

index 96ce1c3..37e9e32 100644 (file)
@@ -386,7 +386,7 @@ zconf_umount() {
     local running=$(do_node $client "grep -c $mnt' ' /proc/mounts") || true
     if [ $running -ne 0 ]; then
         echo "Stopping client $client $mnt (opts:$force)"
-        lsof | grep "$mnt" || true
+        do_node $client lsof | grep "$mnt" || true
         do_node $client umount $force $mnt
     fi
 }