Whamcloud - gitweb
clean up MOUNT grep
authornic <nic>
Fri, 4 Mar 2005 02:11:54 +0000 (02:11 +0000)
committernic <nic>
Fri, 4 Mar 2005 02:11:54 +0000 (02:11 +0000)
lustre/tests/sanity.sh

index 8f955ae..e3a5378 100644 (file)
@@ -167,10 +167,10 @@ pass() {
        echo PASS $@
 }
 
-MOUNT="`cat /proc/mounts | egrep "lustre|lustre_lite" | awk '{print $2}'`"
+MOUNT="`cat /proc/mounts | grep "lustre" | awk '{print $2}'`"
 if [ -z "$MOUNT" ]; then
        sh llmount.sh
-       MOUNT="`cat /proc/mounts | egrep "lustre|lustre_lite" | awk '{print $2}'`"
+       MOUNT="`cat /proc/mounts | grep "lustre" | awk '{print $2}'`"
        [ -z "$MOUNT" ] && error "NAME=$NAME not mounted"
        I_MOUNTED=yes
 fi