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
Marian Buschsieweke 77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00
..
tests-as-root tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
main.c tests: fix copyright attribution and doc 2019-10-04 20:58:57 +02:00
Makefile treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
Makefile.board.dep tests/gnrc_ipv6_ext: move board specific deps in Makefile.board.dep 2019-12-06 21:18:21 +01:00
Makefile.ci boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
README.md tests/gnrc_*: fix typo 'sting' -> 'string' 2020-10-02 08:17:41 +02: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 string 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.