summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterfs/bug-893378.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/glusterfs/bug-893378.t')
-rwxr-xr-xtests/bugs/glusterfs/bug-893378.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bugs/glusterfs/bug-893378.t b/tests/bugs/glusterfs/bug-893378.t
index 72a23f99e26..444dafb44bc 100755
--- a/tests/bugs/glusterfs/bug-893378.t
+++ b/tests/bugs/glusterfs/bug-893378.t
@@ -1,6 +1,8 @@
#!/bin/bash
. $(dirname $0)/../../include.rc
+. $(dirname $0)/../../volume.rc
+
cleanup;
BRICK_COUNT=3
@@ -59,7 +61,7 @@ then
get_cached_brick
CACHED=$?
# Kill a brick process
- kill -9 `cat $GLUSTERD_WORKDIR/vols/$V0/run/$H0-d-backends-${V0}$CACHED.pid`;
+ kill_brick $V0 $H0 $B0/${V0}$CACHED
fi
## trigger a lookup