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
Martine Lenders 1db480006c
Merge pull request #15939 from namib-project/dhcp-mud-fix
sys/net/dhcpv6: Fixes for MUD URL option
2021-02-10 08:30:06 +01:00
..
tests-as-root sys/net/dhcpv6: Fix MUD URL option 2021-02-09 19:47:47 +01:00
Kconfig treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
main.c tests: provide tests for 6LBR DHCPv6 client 2020-02-19 18:26:46 +01:00
Makefile tests/gnrc_dhcpv6_client_6lbr: Add MUD URL test 2020-11-30 22:46:33 +01:00
Makefile.board.dep boards/native: allow to use ZEP instead of tap 2020-11-13 18:43:49 +01:00
Makefile.ci Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad 2021-02-09 23:34:58 +01: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.