File libmicrohttpd-drop-test_tls_options.patch of Package libmicrohttpd

From: Michal Vyskocil <mvyskocil@suse.com>
Subject: Drop test_tls_options

test_tls_options fails in OBS, but not in local build. So lets skip it from OBS
builds.

/usr/bin/make  check-TESTS
make[5]: Entering directory `/home/abuild/rpmbuild/BUILD/libmicrohttpd-0.9.27/src/testcurl/https'
curl version: libcurl/7.30.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.25 libssh2/1.4.3
The following handshake should fail (and print an error message)...
curl_easy_perform failed: `SSL connect error'
Fatal error in GNU libmicrohttpd daemon.c:2717: Failed to join a thread

/bin/sh: line 5: 15991 Aborted                 ${dir}$tst
FAIL: test_tls_options

Index: libmicrohttpd-0.9.27/src/testcurl/https/Makefile.am
===================================================================
--- libmicrohttpd-0.9.27.orig/src/testcurl/https/Makefile.am
+++ libmicrohttpd-0.9.27/src/testcurl/https/Makefile.am
@@ -29,7 +29,6 @@ check_PROGRAMS = \
 EXTRA_DIST = cert.pem key.pem tls_test_keys.h tls_test_common.h
 
 TESTS = \
-  test_tls_options \
   test_https_multi_daemon \
   test_https_get \
   test_https_get_select \
Index: libmicrohttpd-0.9.27/src/testcurl/https/Makefile.in
===================================================================
--- libmicrohttpd-0.9.27.orig/src/testcurl/https/Makefile.in
+++ libmicrohttpd-0.9.27/src/testcurl/https/Makefile.in
@@ -58,7 +58,7 @@ check_PROGRAMS = test_tls_options$(EXEEX
 	test_https_get_parallel_threads$(EXEEXT) \
 	test_https_session_info$(EXEEXT) test_https_time_out$(EXEEXT) \
 	test_empty_response$(EXEEXT)
-TESTS = test_tls_options$(EXEEXT) test_https_multi_daemon$(EXEEXT) \
+TESTS = test_https_multi_daemon$(EXEEXT) \
 	test_https_get$(EXEEXT) test_https_get_select$(EXEEXT) \
 	test_https_get_parallel$(EXEEXT) \
 	test_https_get_parallel_threads$(EXEEXT) \
openSUSE Build Service is sponsored by