1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_sock_neterr
Akshai M 6450d9989e gnrc/pktbuf : Set Kconfig defaults and conditions
Set Kconfig defaults for CPU and conditions to avoid
conflict with CFLAGS

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-11 14:47:27 +05:30
..
tests tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
main.c tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
Makefile gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
Makefile.ci tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
README.md tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01: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