From bca685c7ef25cb19fd3b3c06dab52f624a726723 Mon Sep 17 00:00:00 2001 From: grev <grev> Date: Thu, 26 Jul 2007 10:28:26 +0000 Subject: [PATCH] b=12942 i=Nathan i=Brian Check /proc/mounts instead of mtab. --- lustre/tests/conf-sanity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index bc3b4674f2..133118fca3 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -231,8 +231,8 @@ test_5() { kill -TERM $UMOUNT_PID echo "waiting for umount to finish" wait $UMOUNT_PID - if grep " $MOUNT " /etc/mtab; then - echo "test 5: mtab after failed umount" + if grep " $MOUNT " /proc/mounts; then + echo "test 5: /proc/mounts after failed umount" umount $MOUNT & UMOUNT_PID=$! sleep 2 @@ -240,7 +240,7 @@ test_5() { kill -TERM $UMOUNT_PID echo "waiting for umount to finish" wait $UMOUNT_PID - grep " $MOUNT " /etc/mtab && echo "test 5: mtab after second umount" && return 11 + grep " $MOUNT " /proc/mounts && echo "test 5: /proc/mounts after second umount" && return 11 fi manual_umount_client -- GitLab