summaryrefslogtreecommitdiffstats
path: root/tests/bugs/distribute/bug-862967.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/distribute/bug-862967.t')
-rw-r--r--tests/bugs/distribute/bug-862967.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bugs/distribute/bug-862967.t b/tests/bugs/distribute/bug-862967.t
index 07b053787ba..09dac376d94 100644
--- a/tests/bugs/distribute/bug-862967.t
+++ b/tests/bugs/distribute/bug-862967.t
@@ -1,6 +1,7 @@
#!/bin/bash
. $(dirname $0)/../../include.rc
+. $(dirname $0)/../../volume.rc
cleanup;
@@ -36,7 +37,7 @@ chown 1:1 $M0/dir;
# Kill a brick process
-kill -9 `cat $GLUSTERD_WORKDIR/vols/$V0/run/$H0-d-backends-${V0}1.pid`;
+kill_brick $V0 $H0 $B0/${V0}1
# change dir ownership
NEW_UID=36;
NEW_GID=36;