summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/features/glupy.t2
-rw-r--r--tests/include.rc2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/features/glupy.t b/tests/features/glupy.t
index 2ff6430ec6a..faa4cf33a14 100755
--- a/tests/features/glupy.t
+++ b/tests/features/glupy.t
@@ -20,7 +20,7 @@ volume vol-glupy
end-volume
EOF
-TEST glusterfs -f $B0/glupytest.vol -l /var/log/glusterfs/glupy.log $M0;
+TEST glusterfs -f $B0/glupytest.vol -l $LOGDIR/glupy.log $M0;
TEST touch $M0/filename;
EXPECT "filename" ls $M0
diff --git a/tests/include.rc b/tests/include.rc
index 65fe0cc9c81..2c45873aec0 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -67,6 +67,8 @@ CONFIG_UPDATE_TIMEOUT=5
AUTH_REFRESH_INTERVAL=10
GRAPH_SWITCH_TIMEOUT=10
+LOGDIR=$(gluster --print-logdir)
+
statedumpdir=`gluster --print-statedumpdir`; # Default directory for statedump
CLI="gluster --mode=script --wignore";