rsyslog: add tls related tests

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Tudor Florea 2016-02-02 14:47:58 +01:00 committed by Martin Jansa
parent f3e06eeb77
commit d74d33e1e4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
Enable tls ptest
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Upstream-Status: Pending
--- rsyslog-7.4.4/tests/Makefile.am.orig 2013-08-30 18:30:41.000000000 +0200
+++ rsyslog-7.4.4/tests/Makefile.am 2015-10-01 09:38:45.176289031 +0200
@@ -118,15 +118,13 @@
endif
if ENABLE_GNUTLS
-# TODO: re-enable in newer version
-#TESTS += \
- #sndrcv_tls_anon.sh \
- #sndrcv_tls_anon_rebind.sh \
- #imtcp-tls-basic.sh
+TESTS += \
+ imtcp-tls-basic.sh \
+ imtcp_conndrop_tls.sh
if HAVE_VALGRIND
TESTS += imtcp-tls-basic-vg.sh \
- imtcp_conndrop_tls-vg.sh
- manytcp-too-few-tls-vg.sh
+ imtcp_conndrop_tls-vg.sh \
+ manytcp-too-few-tls.sh
endif
endif

View File

@ -27,6 +27,7 @@ SRC_URI = "http://www.rsyslog.com/download/files/download/rsyslog/${BPN}-${PV}.t
file://json-0.12-fix.patch \
file://replace_deprecated_GnuTLS_functions.patch \
file://use_gnutls_certificate_type_set_priority_only_if_available.patch \
file://enable_tls_ptests.patch \
"
SRC_URI[md5sum] = "093c462a5245012bd9e7b82dd8aedffb"