summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-10-21 17:03:33 +0200
committerMichael Biebl <biebl@debian.org>2011-10-21 17:03:33 +0200
commita7a3afdd81c8809fbc4927b360e1cb59e2e16b2e (patch)
tree87efee7c0a74d351e4d88e52a5b84fbd4b3b191d /tests
parentae82a633a4d42dfdc942d8f0f4f5e6470f13797e (diff)
downloadrsyslog-a7a3afdd81c8809fbc4927b360e1cb59e2e16b2e.tar.gz
Imported Upstream version 5.8.6upstream/5.8.6
Diffstat (limited to 'tests')
-rw-r--r--tests/INSTALL0
-rw-r--r--tests/Makefile.in4
-rw-r--r--tests/tcpflood.c5
3 files changed, 5 insertions, 4 deletions
diff --git a/tests/INSTALL b/tests/INSTALL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/INSTALL
diff --git a/tests/Makefile.in b/tests/Makefile.in
index a667199..9acbda9 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -159,7 +159,8 @@ host_triplet = @host@
@ENABLE_IMFILE_TRUE@@ENABLE_TESTBENCH_TRUE@am__append_12 = imfile-basic.sh
@ENABLE_IMFILE_TRUE@@ENABLE_TESTBENCH_TRUE@@HAVE_VALGRIND_TRUE@am__append_13 = imfile-basic-vg.sh
subdir = tests
-DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ INSTALL
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/atomic_operations.m4 \
$(top_srcdir)/m4/atomic_operations_64bit.m4 \
@@ -403,7 +404,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
moddirs = @moddirs@
diff --git a/tests/tcpflood.c b/tests/tcpflood.c
index 49b1e9e..8485acb 100644
--- a/tests/tcpflood.c
+++ b/tests/tcpflood.c
@@ -797,7 +797,7 @@ closeTLSSess(int i)
# else /* NO TLS available */
static void initTLS(void) {}
static void initTLSSess(int __attribute__((unused)) i) {}
-static int sendTLS(int i, char *buf, int lenBuf) { return 0; }
+static int sendTLS(int __attribute__((unused)) i, char __attribute__((unused)) *buf, int __attribute__((unused)) lenBuf) { return 0; }
static void closeTLSSess(int __attribute__((unused)) i) {}
# endif
@@ -889,7 +889,8 @@ int main(int argc, char *argv[])
# if defined(ENABLE_GNUTLS)
transport = TP_TLS;
# else
- fprintf(stderr, "compiled without TLS support!\n", optarg);
+ fprintf(stderr, "compiled without TLS support: "
+ "\"-Ttls\" not supported!\n");
exit(1);
# endif
} else {