summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendra@redhat.com>2013-01-24 18:40:06 +0530
committerAnand Avati <avati@redhat.com>2013-01-30 10:40:41 -0800
commit559219492477624290b4962a9f82c49bcda011d9 (patch)
tree52075c78237e5796cfe6c34a6781eb434cd91310
parentb8d5fd2b88db7e18a10e57a0edf1a41eda4f5314 (diff)
762989.t: fix a typo by grepping only the blocked port number from netstat o/p
Change-Id: I14c3daa799f0936014bf8aa9fd798ecbaec6e912 BUG: 762989 Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-on: http://review.gluster.org/4426 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rwxr-xr-xtests/bugs/bug-762989.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-762989.t b/tests/bugs/bug-762989.t
index 386aec1cd47..5b774101744 100755
--- a/tests/bugs/bug-762989.t
+++ b/tests/bugs/bug-762989.t
@@ -23,7 +23,7 @@ $M0;
## Wait for volume to register with rpc.mountd
sleep 6;
## check if port 1023 (which has been reserved) is used by the gluster processes
-op=$(netstat -antlp | grep gluster | grep 1023);
+op=$(netstat -antlp | grep gluster | grep -w 1023);
EXPECT "" echo $op;
#set the reserved ports to the older values