1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_dhcpv6_client_6lbr
2022-11-22 13:39:35 +01:00
..
tests-as-root tests/dhcpv6_6lbr: Update test for MUD option 2021-06-28 18:07:05 +02:00
Kconfig treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
main.c tests: add missing includes 2022-11-22 13:39:35 +01:00
Makefile examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Makefile.board.dep boards/native: allow to use ZEP instead of tap 2020-11-13 18:43:49 +01:00
Makefile.ci examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
README.md tests/gnrc_dhcpv6_client_6lbr: add test-as-root to README 2021-02-09 19:47:47 +01: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.