mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
test1650: make it depend on http/2
Follow-up to 570008c99da0ccbb as it gets link errors. Reported-by: Michael Kaufmann Closes #3068
This commit is contained in:
parent
3edb0e369e
commit
b8ab30d309
@ -14,6 +14,7 @@ none
|
||||
</server>
|
||||
<features>
|
||||
unittest
|
||||
http/2
|
||||
</features>
|
||||
<name>
|
||||
DOH
|
||||
|
@ -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 LABEL_TEST "\x04\x74\x65\x73\x74"
|
||||
#define LABEL_HOST "\x04\x68\x6f\x73\x74"
|
||||
@ -281,3 +282,13 @@ UNITTEST_START
|
||||
}
|
||||
}
|
||||
UNITTEST_STOP
|
||||
|
||||
#else /* USE_NGHTTP2 */
|
||||
UNITTEST_START
|
||||
{
|
||||
return 1; /* nothing to do, just fail */
|
||||
}
|
||||
UNITTEST_STOP
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user