summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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