1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/gnrc_sock_neterr
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
..
tests tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
main.c tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00

This is a simple proof of concept test, that gnrc_sock with gnrc_neterr works as expected to report errors within the network stack up to the sock object.

It just tests if the sock reports -EHOSTUNREACH when sending to an unreachable address. To confirm that this is indeed coming from the stack and not the sock wrapper you can do

git grep EHOSTUNREACH -- sys/net/gnrc/sock