1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00

test1650: make it depend on http/2

Follow-up to 570008c99d as it gets link errors.

Reported-by: Michael Kaufmann
Closes #3068
This commit is contained in:
Daniel Stenberg 2018-09-30 22:24:54 +02:00
parent 3edb0e369e
commit b8ab30d309
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@ none
</server> </server>
<features> <features>
unittest unittest
http/2
</features> </features>
<name> <name>
DOH DOH

View File

@ -33,6 +33,7 @@ static void unit_stop(void)
} }
#ifdef USE_NGHTTP2
#define DNS_PREAMBLE "\x00\x00\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00" #define DNS_PREAMBLE "\x00\x00\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00"
#define LABEL_TEST "\x04\x74\x65\x73\x74" #define LABEL_TEST "\x04\x74\x65\x73\x74"
#define LABEL_HOST "\x04\x68\x6f\x73\x74" #define LABEL_HOST "\x04\x68\x6f\x73\x74"
@ -281,3 +282,13 @@ UNITTEST_START
} }
} }
UNITTEST_STOP UNITTEST_STOP
#else /* USE_NGHTTP2 */
UNITTEST_START
{
return 1; /* nothing to do, just fail */
}
UNITTEST_STOP
#endif