1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_ipv6_ext
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: fix copyright attribution and doc 2019-10-04 20:58:57 +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 tests/gnrc_ipv6_ext: port to scapy 2019-01-11 13:27:21 +01:00

gnrc_ipv6_ext test

This test utilizes scapy to test the IPv6 Extension header parsing.

It is intended to just test the basic parsing functionality. For specific extension header types please provide a separate test application.

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.