summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-767095.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-767095.t')
-rwxr-xr-xtests/bugs/bug-767095.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-767095.t b/tests/bugs/bug-767095.t
index a8842bd54b3..82212c72d6e 100755
--- a/tests/bugs/bug-767095.t
+++ b/tests/bugs/bug-767095.t
@@ -31,7 +31,7 @@ TEST $CLI volume set $V0 server.statedump-path $dump_dir;
TEST $CLI volume start $V0;
EXPECT 'Started' volinfo_field $V0 'Status';
-TEST PID=`gluster volume status $V0 | grep patchy1 | awk {'print $5'}`;
+TEST PID=`gluster --xml volume status patchy | grep -A 5 patchy1 | grep '<pid>' | cut -d '>' -f 2 | cut -d '<' -f 1`
TEST kill -USR1 $PID;
sleep 2;
for file_name in $(ls $dump_dir)