summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-797171.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/bug-797171.t')
-rwxr-xr-xtests/bugs/bug-797171.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-797171.t b/tests/bugs/bug-797171.t
index f160e418c2b..d29c4bd7a2a 100755
--- a/tests/bugs/bug-797171.t
+++ b/tests/bugs/bug-797171.t
@@ -21,8 +21,8 @@ $M0;
touch $M0/{1..22};
rm -f $M0/*;
-pid_file=$(ls /var/lib/glusterd/vols/$V0/run);
-brick_pid=$(cat /var/lib/glusterd/vols/$V0/run/$pid_file);
+pid_file=$(ls $GLUSTERD_WORKDIR/vols/$V0/run);
+brick_pid=$(cat $GLUSTERD_WORKDIR/vols/$V0/run/$pid_file);
mkdir $statedumpdir/statedump_tmp/;
echo "path=$statedumpdir/statedump_tmp" > $statedumpdir/glusterdump.options;