1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 09:52:45 +01:00
RIOT/tests/net/gnrc_dhcpv6_client_6lbr
benpicco 4ea27d4c13
Merge pull request #20300 from jparker324/stm32c0_and_nucleo_c031c6
cpu/stm32: add support for STM32C0 and NUCLEO-C031C6
2024-01-31 15:09:25 +00:00
..
tests-as-root tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Kconfig 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: don't explicitly set RIOT_TERMINAL=native 2024-01-19 18:11:09 +01:00
Makefile.board.dep tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile.ci boards/nucleo-c031c6 initial add 2024-01-30 10:11:57 -05:00
README.md tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00

gnrc_dhcpv6_client_6lbr test

This test utilizes scapy to test the DHCPv6 client configuration for a 6LoWPAN border router.

To test, compile and flash the application to any board of your liking (since ethos is used to communicate with non-native boards it really doesn't matter as long as the application fits).

make flash

And run the tests using

sudo make test-as-root

Note that root privileges are required since scapy needs to construct Ethernet frames to properly communicate over the TAP interface.

The tests succeeds if you see the string SUCCESS.

If any problems are encountered (i.e. if the test prints the string FAILED), set the echo parameter in the run() function at the bottom of the test script (tests-as-root/01-run.py) to True. The test script will then offer a more detailed output.