[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 188/205: test1541: also test for CURL_PULL_WS2TCPIP
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 188/205: test1541: also test for CURL_PULL_WS2TCPIP_H |
Date: |
Thu, 20 Apr 2017 16:22:08 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit e50e2850ba273259081722946ea9bd84bcaa6709
Author: Marcel Raad <address@hidden>
AuthorDate: Wed Apr 12 08:32:24 2017 +0200
test1541: also test for CURL_PULL_WS2TCPIP_H
Ref: https://github.com/curl/curl/issues/1408
Closes https://github.com/curl/curl/pull/1412
---
tests/libtest/lib1541.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/tests/libtest/lib1541.c b/tests/libtest/lib1541.c
index 695d35842..3675592ff 100644
--- a/tests/libtest/lib1541.c
+++ b/tests/libtest/lib1541.c
@@ -35,8 +35,10 @@ int test(char *URL)
const char *types_h = "No";
const char *socket_h = "No";
+ const char *ws2tcpip_h = "No";
const char *stypes_h = "No";
const char *ssocket_h = "No";
+ const char *sws2tcpip_h = "No";
(void)(URL);
@@ -46,6 +48,9 @@ int test(char *URL)
#ifdef CURL_PULL_SYS_SOCKET_H
socket_h = "Yes";
#endif
+#ifdef CURL_PULL_WS2TCPIP_H
+ ws2tcpip_h = "Yes";
+#endif
snprintf(detect, sizeof(detect),
#ifdef CHECK_CURL_OFF_T
"CURL_TYPEOF_CURL_OFF_T: %s\n"
@@ -59,6 +64,7 @@ int test(char *URL)
"CURL_TYPEOF_CURL_SOCKLEN_T: %s\n"
"CURL_PULL_SYS_TYPES_H: %s\n"
"CURL_PULL_SYS_SOCKET_H: %s\n"
+ "CURL_PULL_WS2TCPIP_H: %s\n"
#ifdef CHECK_CURL_OFF_T
, STRING(CURL_TYPEOF_CURL_OFF_T)
@@ -71,7 +77,8 @@ int test(char *URL)
, CURL_SIZEOF_LONG
, STRING(CURL_TYPEOF_CURL_SOCKLEN_T)
, types_h
- , socket_h);
+ , socket_h
+ , ws2tcpip_h);
#ifdef CURLSYS_PULL_SYS_TYPES_H
stypes_h = "Yes";
@@ -79,6 +86,9 @@ int test(char *URL)
#ifdef CURLSYS_PULL_SYS_SOCKET_H
ssocket_h = "Yes";
#endif
+#ifdef CURLSYS_PULL_WS2TCPIP_H
+ sws2tcpip_h = "Yes";
+#endif
snprintf(syst, sizeof(syst),
#ifdef CHECK_CURL_OFF_T
"CURL_TYPEOF_CURL_OFF_T: %s\n"
@@ -92,6 +102,7 @@ int test(char *URL)
"CURL_TYPEOF_CURL_SOCKLEN_T: %s\n"
"CURL_PULL_SYS_TYPES_H: %s\n"
"CURL_PULL_SYS_SOCKET_H: %s\n"
+ "CURL_PULL_WS2TCPIP_H: %s\n"
#ifdef CHECK_CURL_OFF_T
, STRING(CURLSYS_TYPEOF_CURL_OFF_T)
@@ -104,7 +115,8 @@ int test(char *URL)
, CURLSYS_SIZEOF_LONG
, STRING(CURLSYS_TYPEOF_CURL_SOCKLEN_T)
, stypes_h
- , ssocket_h);
+ , ssocket_h
+ , sws2tcpip_h);
if(strcmp(detect, syst)) {
printf("===> Type detection failed <====\n");
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 173/205: BUGS: "Bugs in old versions", (continued)
- [GNUnet-SVN] [gnurl] 173/205: BUGS: "Bugs in old versions", gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 158/205: tests: added test for Curl_splaygetbest to unit1309, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 146/205: tests/server/util: remove in6addr_any for recent MinGW, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 165/205: nss: fix build after e60fe20fdf94e829ba5fce33f7a9d6c281149f7d, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 187/205: tests/server/util: prefer <poll.h> over <sys/poll.h>, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 153/205: RELEASE-NOTES: synced with 4f2e348f9b42c69c480, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 190/205: mbedtls: fix memory leak in error path, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 189/205: curl-compilers.m4: turn implicit function declarations into errors, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 172/205: system.h: add section for tcc, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 200/205: openssl: don't try to print nonexistant peer private keys, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 188/205: test1541: also test for CURL_PULL_WS2TCPIP_H,
gnunet <=
- [GNUnet-SVN] [gnurl] 205/205: Patchset for gnURL microfork: * Patches to rename libcurl to libgnurl by Christian * Updated for latest curl using git cherry-pick by Jeff, Florian, ng0 * Patches to fix the testsuite (deleted tests/data/test1139, renamed reference from libcurl.* to libgnurl.*) by ng0 * Added guix-gnurl.scm which can be used to build this with guix prior to installing it. (author: ng0), gnunet, 2017/04/20