Whamcloud - gitweb
- fixes in sanity tests about using mount command. cat /proc/mounts is used instead
[fs/lustre-release.git] / lustre / tests / sanity-cmobd.sh
index 568b805..3ad20ca 100644 (file)
@@ -86,7 +86,7 @@ check_kernel_version() {
 }
 
 run_one() {
-       if ! mount | grep -q $DIR; then
+       if ! cat /proc/mounts | grep -q $DIR; then
                $START
        fi
        echo $PTLDEBUG >/proc/sys/portals/debug