Skip to content
Commit a9c5b72a authored by Tom Hughes's avatar Tom Hughes Committed by Benjamin Cabé
Browse files

tests: net: lib: http_server: Check response



Building with clang, it warns:

tests/net/lib/http_server/core/src/main.c:1400:19: error: variable
'http1_header_capture_common_response' is not needed and will not be
emitted [-Werror,-Wunneeded-internal-declaration]
static const char http1_header_capture_common_response[]
                  ^                             = "HTTP/1.1 200\r\n"

Add a check to make sure the response actually matches the expected
response.

Signed-off-by: default avatarTom Hughes <tomhughes@chromium.org>
parent 1b6feab0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment