summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2013-08-14 15:44:33 -0700
committerVijay Bellur <vbellur@redhat.com>2013-08-18 05:08:16 -0700
commit764c42813df3de9659a1ab7b7356779d2e5d64e5 (patch)
tree691e5fc0bdd933c0928b18380774832346bc5377
parent8cde114f65e7a08c9ca3637ff46b8b6cd6dc9426 (diff)
tests: make sure to avoid 'grep' in ps output
Change-Id: I48909facd2e3a2dc52a18e44d58c0e0fa2d96ec3 BUG: 887098 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/5631 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-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 54e52d4dc..68f16d735 100644
--- a/tests/bugs/bug-887098-gmount-crash.t
+++ b/tests/bugs/bug-887098-gmount-crash.t
@@ -18,7 +18,7 @@ EXPECT 'Created' volinfo_field $V0 'Status';
function pidgrep()
{
- ps ax | grep "$1" | awk '{print $1}' | head -1
+ ps ax | grep "$1" | grep -v grep | awk '{print $1}' | head -1
}