1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_rpl_srh
benpicco e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
..
tests tests: expect match \r\n or \s 2019-11-27 14:12:12 +01:00
main.c tests/gnrc_rpl_srh: fix unittests for gnrc_rpl_srh behavior change 2019-10-14 12:04:35 +02:00
Makefile tests: add test_utils_interactive_sync when possible 2019-11-27 15:07:42 +01:00
Makefile.ci boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
README.md

gnrc_ipv6_ext test

This test utilizes scapy to test the GNRC's RPL source routing header handling.

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

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 sting FAILED), set the echo parameter in the run() function at the bottom of the test script (tests/01-run.py) to True. The test script will then offer a more detailed output.

It might be that due to scapy's sniffer not picking up an expected packet sometimes that the test application hangs for a while and then issues FAILED. Just restart the test in that case.