From d080ffe467f6f58be82ee14dbeed94026002f1e0 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 3 Mar 2010 09:24:40 +0100 Subject: reordered some include, because otherwise we get zlib-related errors on some platforms (namely Debian sid). This smells like a bug in zlib. Thanks to Michael Biebl for reporting the issue. --- tests/rt-init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/rt-init.c') diff --git a/tests/rt-init.c b/tests/rt-init.c index aaac7ed1..b9c4ce2e 100644 --- a/tests/rt-init.c +++ b/tests/rt-init.c @@ -21,10 +21,9 @@ * * A copy of the GPL can be found in the file "COPYING" in this distribution. */ -#include - #include "rsyslog.h" #include "testbench.h" +#include /* must be last, else we get a zlib compile error on some platforms */ MODULE_TYPE_TESTBENCH -- cgit v1.2.3 From cd8c6abcc8cea54924e55dffe820364ad98a40df Mon Sep 17 00:00:00 2001 From: Yann Droneaud Date: Thu, 4 Mar 2010 08:00:39 +0100 Subject: Includes "config.h" before any other header. For consistency, ./configure generated "config.h" must be the first header include through out the project. Signed-off-by: Rainer Gerhards --- tests/rt-init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/rt-init.c') diff --git a/tests/rt-init.c b/tests/rt-init.c index b9c4ce2e..66a9ad32 100644 --- a/tests/rt-init.c +++ b/tests/rt-init.c @@ -21,6 +21,7 @@ * * A copy of the GPL can be found in the file "COPYING" in this distribution. */ +#include "config.h" #include "rsyslog.h" #include "testbench.h" #include /* must be last, else we get a zlib compile error on some platforms */ -- cgit v1.2.3 From 2cd132eebb84dbcffcf0c20b9354c14f797c29cd Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 7 Apr 2010 12:42:41 +0200 Subject: enhanced nettester tool so that it re-uses it's callers environment this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself --- tests/rt-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rt-init.c') diff --git a/tests/rt-init.c b/tests/rt-init.c index 66a9ad32..dbe94b4a 100644 --- a/tests/rt-init.c +++ b/tests/rt-init.c @@ -39,6 +39,6 @@ ENDExit BEGINTest CODESTARTTest -finalize_it: +/*finalize_it:*/ /* room for custom error reporter, leave blank if not needed */ ENDTest -- cgit v1.2.3