diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-05-16 17:57:37 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-16 11:57:45 -0700 |
commit | cfca748fef28170377b868871b0dd980c1f151f6 (patch) | |
tree | 28dbf0b8eda610bf7b1101b31644c3104353919a /tests/include.rc | |
parent | df12f00851a234b0e892af4b958e606a1fa660ed (diff) |
tests: write log for glupy.t to the standard log directory
There is (or was) a spurious test in glupy.t for which a separate log
file was setup. The directory where the log is saved, is not available
on NetBSD and this causes glupy.t to always fail, without a log.
Instead of hard-coding the path to the log, use "gluster --print-logdir"
to provide a LOGDIR environment variable. glupy.t now writes the log to
an existing directory.
BUG: 1163543
Change-Id: Ifa73198d06fa267856d0da9d25a4380329909124
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/10801
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/include.rc')
-rw-r--r-- | tests/include.rc | 2 |
1 files changed, 2 insertions, 0 deletions
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"; |