zephyr/tests/net
Tom Hughes a9c5b72a6f 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: Tom Hughes <tomhughes@chromium.org>
2025-03-26 21:56:51 +01:00
..
6lo net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
all net: openthread: Allow a platform to select a Settings backend. 2024-12-02 18:18:20 +01:00
arp net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
bridge
checksum_offload net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
conn_mgr_conn tests: net: conn_mgr: Use valid LL address in tests 2025-02-19 18:48:52 +01:00
conn_mgr_monitor tests: net: conn_mgr: Use valid LL address in tests 2025-02-19 18:48:52 +01:00
context lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dhcpv4 boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
dhcpv6 samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
ethernet_mgmt
hostname net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
icmp samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
icmpv4 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv6 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ieee802154 net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
iface net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
igmp tests: net: igmp: Add re-join multicast group test 2024-12-19 10:20:56 +01:00
ip-addr tests: net: ip-addr: Add test case verifying default iface is preferred 2024-11-29 11:44:39 +01:00
ipv4_fragment tests: net: ipv4_fragment: Make test to run faster 2024-11-18 07:26:07 -05:00
ipv6 net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
ipv6_fragment test: net: ipv6_fragment: Set link layer protocol type for a packet 2025-03-21 09:52:42 +01:00
lib tests: net: lib: http_server: Check response 2025-03-26 21:56:51 +01:00
mgmt
mld net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
mocks
neighbor net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
net_pkt net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
npf
offloaded_netdev test: net: offloaded_netdev: Add tests for IPv4/6 address registration 2024-09-23 14:08:34 +01:00
pm tests/samples: net: Fix the max number of file descriptors 2024-09-30 17:12:15 +01:00
pmtu tests: net: pmtu: Add IPV6_MTU socket option tests 2024-11-18 07:26:07 -05:00
ppp/driver lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
promiscuous
ptp/clock drivers/ethernet/eth_native_posix: Rename to eth_native_tap 2025-03-07 20:10:38 +01:00
route net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
route_mcast net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
shell test: net: shell Remove unused function 2025-02-12 02:23:21 +01:00
socket net: lib: tls_credentials: Rename TLS_CREDENTIAL_SERVER_CERTIFICATE 2025-03-21 14:18:52 +01:00
tcp
traffic_class net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
trickle lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tx_timestamp net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
udp tests: net: udp: Remove unused function 2025-02-12 02:24:21 +01:00
utils tests: net: utils: Add tests for IP address string with mask 2025-03-20 17:16:10 +01:00
virtual net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
vlan net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
wifi tests: wifi: configs: Add a test for disable of advanced features 2025-01-15 19:06:22 +01:00