Whamcloud - gitweb
- fixes in sanity tests about using mount command. cat /proc/mounts is used instead
authoryury <yury>
Fri, 13 May 2005 13:16:04 +0000 (13:16 +0000)
committeryury <yury>
Fri, 13 May 2005 13:16:04 +0000 (13:16 +0000)
lustre/tests/sanity-cmobd.sh
lustre/tests/sanity-fid.sh
lustre/tests/sanity-lmv.sh
lustre/tests/sanity-sec.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 
index 9844d4e..72942c7 100644 (file)
@@ -96,7 +96,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 
index 8e0a86e..e31e045 100644 (file)
@@ -103,7 +103,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 
index d8a5598..73d2830 100644 (file)
@@ -98,7 +98,7 @@ check_kernel_version() {
 }
 
 run_one() {
-       if ! mount | grep -q $DIR; then
+       if ! cat /proc/mounts | grep -q $DIR; then
                $START
        fi
        echo -1 >/proc/sys/portals/debug