diff options
-rwxr-xr-x | run-tests.sh | 2 | ||||
-rwxr-xr-x | tests/features/glupy.t | 2 | ||||
-rw-r--r-- | tests/include.rc | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/run-tests.sh b/run-tests.sh index 7675f102aea..5381c185cde 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -222,7 +222,7 @@ function is_bad_test () ./tests/bugs/disperse/bug-1187474.t \ ./tests/basic/afr/sparse-file-self-heal.t \ ./tests/basic/afr/data-self-heal.t \ - ./tests/features/glupy.t; do + ; do [ x"$name" = x"$bt" ] && return 0 # bash: zero means true/success done return 1 # bash: non-zero means false/failure 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 8875f076ff1..3a54ee28f79 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -66,6 +66,8 @@ UMOUNT_TIMEOUT=5 CONFIG_UPDATE_TIMEOUT=5 AUTH_REFRESH_INTERVAL=10 +LOGDIR=$(gluster --print-logdir) + statedumpdir=`gluster --print-statedumpdir`; # Default directory for statedump CLI="gluster --mode=script --wignore"; |