You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/07/08 17:33:09 UTC
[trafficserver] branch master updated: Move header_rewrite_test
into the automake tests.
This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9aa6336 Move header_rewrite_test into the automake tests.
9aa6336 is described below
commit 9aa6336147f8ee0069444a1dd5f59aa2b3463375
Author: James Peach <jp...@apache.org>
AuthorDate: Fri Jul 8 10:32:33 2016 -0700
Move header_rewrite_test into the automake tests.
---
plugins/header_rewrite/Makefile.am | 4 +++-
plugins/header_rewrite/header_rewrite_test.cc | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/header_rewrite/Makefile.am b/plugins/header_rewrite/Makefile.am
index b0a2f63..d8e730a 100644
--- a/plugins/header_rewrite/Makefile.am
+++ b/plugins/header_rewrite/Makefile.am
@@ -35,10 +35,12 @@ header_rewrite_la_SOURCES = \
header_rewrite_la_LDFLAGS = $(TS_PLUGIN_LDFLAGS)
header_rewrite_la_LIBADD = $(GEO_LIBS)
-bin_PROGRAMS = header_rewrite_test
+check_PROGRAMS = header_rewrite_test
header_rewrite_test_SOURCES = parser.cc header_rewrite_test.cc
header_rewrite_test_CXXFLAGS = $(AM_CXXFLAGS)
+TESTS = $(check_PROGRAMS)
+
include $(top_srcdir)/build/tidy.mk
tidy-local: $(DIST_SOURCES)
diff --git a/plugins/header_rewrite/header_rewrite_test.cc b/plugins/header_rewrite/header_rewrite_test.cc
index f2a8487..73a3c6a 100644
--- a/plugins/header_rewrite/header_rewrite_test.cc
+++ b/plugins/header_rewrite/header_rewrite_test.cc
@@ -48,7 +48,7 @@ TSDebug(const char *tag, const char *fmt, ...)
va_list args;
va_start(args, fmt);
if ((bytes = vsnprintf(buf, sizeof(buf), fmt, args)) > 0) {
- fprintf(stdout, "TSDebug: %s: %.*s", PLUGIN_NAME, bytes, buf);
+ fprintf(stdout, "TSDebug: %s: %.*s\n", PLUGIN_NAME, bytes, buf);
}
va_end(args);
}
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].