summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2013-08-20 18:25:09 -0700
committerVijay Bellur <vbellur@redhat.com>2013-08-20 21:46:31 -0700
commitcc8b149f34b3dc76a4ec094b822816852f6cfd5f (patch)
tree6d724824fbc01c70ac0b0c637cc2b53b0955edf6 /tests
parenta232deaa82c561013d66322afdc1de1f526ecbd4 (diff)
tests: Avoid another 'grep' in ps output
Previous fix at -----------------------------> 764c42813df3de9659a1ab7b7356779d2e5d64e5 <----------------------------- Was incomplete Change-Id: I6662168a7af078935a5cbcfae76ec40fc0c112b8 BUG: 887098 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/5672 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/bug-887098-gmount-crash.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-887098-gmount-crash.t b/tests/bugs/bug-887098-gmount-crash.t
index 68f16d73556..1998b40623f 100644
--- a/tests/bugs/bug-887098-gmount-crash.t
+++ b/tests/bugs/bug-887098-gmount-crash.t
@@ -27,7 +27,7 @@ TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';
TEST glusterfs -s $H0 --volfile-id=$V0 --acl $M0
-MOUNT_PID=`ps ax |grep "glusterfs -s $H0 --volfile-id=$V0 --acl $M0" | awk '{print $1}' | head -1`
+MOUNT_PID=`ps ax |grep "glusterfs -s $H0 --volfile-id=$V0 --acl $M0" | grep -v grep | awk '{print $1}' | head -1`
for i in {1..25};
do