diff options
author | Raghavendra G <rgowdapp@redhat.com> | 2015-12-08 11:06:33 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-12-09 05:18:45 -0800 |
commit | 8424674e7046136728e5f43adb19bb1fa5b19f5a (patch) | |
tree | f8cafe53ec8559d8b13d6516cce4aa189a1d7bda | |
parent | ba73b0a25ecdf1c8476eead8105a8edc8031b31c (diff) |
tests/bug-924726.t: fix grep pattern to get correct glusterfs pid
Change-Id: Ia2444b1b3e45e3e224bcd59e780a0f38c492f133
BUG: 1289428
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-on: http://review.gluster.org/12906
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rwxr-xr-x | tests/bugs/fuse/bug-924726.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/fuse/bug-924726.t b/tests/bugs/fuse/bug-924726.t index 58bf2c8a083..2d3c7680798 100755 --- a/tests/bugs/fuse/bug-924726.t +++ b/tests/bugs/fuse/bug-924726.t @@ -25,7 +25,7 @@ TEST glusterfs -s $H0 --volfile-id $V0 $M0; TEST ls $M0 -GLFS_MNT_PID=`ps ax | grep -i $M0 | grep glusterfs | grep -v grep | sed -e "s/^ *\([0-9]*\).*/\1/g"` +GLFS_MNT_PID=`ps ax | grep "glusterfs -s $H0 \-\-volfile\-id $V0 $M0" | sed -e "s/^ *\([0-9]*\).*/\1/g"` SOCKETS_BEFORE_SWITCH=`netstat -nap | grep $GLFS_MNT_PID | grep ESTABLISHED | wc -l` |