summaryrefslogtreecommitdiffstats
path: root/tests/include.rc
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2016-02-08 13:30:49 -0500
committerJeff Darcy <jdarcy@redhat.com>2016-02-13 05:13:07 -0800
commitc458433041aafb48ae6d6e5fcf3e1e737dc3fda3 (patch)
tree33a03ca0c1f5faf58419de2c4ff4532752ddfb07 /tests/include.rc
parentda33097c3d6492e3b468b4347e47c70828fb4320 (diff)
experimental: add fdl (Full Data Logging) translator
NSR needs logging that is different than our existing changelog in several ways: * Full data, not just metadata * Pre-op, not post-op * High performance * Supports the concept of time-bounded "terms" Others (for example EC) might need the same thing. This patch adds such a translator. It also adds code to dump the resulting journals, and to replay them using syncops, plus (very rudimentary) tests for all of the above. Change-Id: I29680a1b4e0a9e7d5a8497fef302c46434b86636 Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: http://review.gluster.org/12450 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests/include.rc')
-rw-r--r--tests/include.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 139bc03ac8c..21a69465797 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -136,7 +136,7 @@ function G_LOG()
return
fi
local g_log_string;
- g_log_string="++++++++++ G_LOG:$0: TEST: $1 $@ ++++++++++"
+ g_log_string="++++++++++ G_LOG:$0: TEST: $@ ++++++++++"
g_log_string="`date -u +["%F %T.%6N"]`:$g_log_string"
local g_log_filename
for g_log_filename in `find $g_log_logdir/ -type f -name \*.log`;
@@ -541,10 +541,10 @@ function cleanup()
fi >&2
# tar logs at the start and end of every test
- if [ -n $LOGDIR ]
+ if [ -n "$LOGDIR" -a -z "$STOP_WASTING_SPACE" ]
then
tarname=$(basename $0 .t)
- tar -rvf ${LOGDIR}/${tarname}.tar ${LOGDIR}/* \
+ tar -rf ${LOGDIR}/${tarname}.tar ${LOGDIR}/* \
--exclude="*.tar" \
&& \
find $LOGDIR/* -maxdepth 0 -name '*.tar' -prune \