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
Alexandre Abadie 01d7384b7d
tests/gnrc_*: remove useless BOARD_BLACKLIST
chronos is indirectly blacklisted because of missing periph_uart feature.
hamilton doesn't provide periph_uart when stdio_rtt is disabled (because
of ethos dependency to stdio_uart) and ruuvitag/thingy52 provide the
periph_uart feature so stdio_uart can work on these boards.
2020-01-14 07:48:08 +01:00
..
tests tests/gnrc_rpl_srh: run unittests through shell 2019-12-12 10:13:34 +01:00
main.c tests/gnrc_rpl_srh: run unittests through shell 2019-12-12 10:13:34 +01:00
Makefile tests/gnrc_*: remove useless BOARD_BLACKLIST 2020-01-14 07:48:08 +01:00
Makefile.board.dep tests/gnrc_rpl_srh: move board specific deps in Makefile.board.dep 2019-12-06 21:19:22 +01:00
Makefile.ci boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
README.md tests/gnrc_rpl_srh: introduce dedicated gnrc_rpl_srh test 2019-01-11 15:18:52 +01:00

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.