From: yury Date: Fri, 13 May 2005 13:16:04 +0000 (+0000) Subject: - fixes in sanity tests about using mount command. cat /proc/mounts is used instead X-Git-Tag: 1.4.10~1162 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=35d69097cc4f49c00523469c788f3b3fd963684c;p=fs%2Flustre-release.git - fixes in sanity tests about using mount command. cat /proc/mounts is used instead --- diff --git a/lustre/tests/sanity-cmobd.sh b/lustre/tests/sanity-cmobd.sh index 568b805..3ad20ca 100644 --- a/lustre/tests/sanity-cmobd.sh +++ b/lustre/tests/sanity-cmobd.sh @@ -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 diff --git a/lustre/tests/sanity-fid.sh b/lustre/tests/sanity-fid.sh index 9844d4e..72942c7 100644 --- a/lustre/tests/sanity-fid.sh +++ b/lustre/tests/sanity-fid.sh @@ -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 diff --git a/lustre/tests/sanity-lmv.sh b/lustre/tests/sanity-lmv.sh index 8e0a86e..e31e045 100644 --- a/lustre/tests/sanity-lmv.sh +++ b/lustre/tests/sanity-lmv.sh @@ -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 diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index d8a5598..73d2830 100644 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -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