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_frag
2020-04-03 14:52:48 +02:00
..
tests tests: Use returned value of 'check_unittests' 2020-04-03 14:52:48 +02:00
app.config tests/gnrc_ipv6_ext_frag: Add Kconfig default configurations 2020-01-30 17:42:42 +01:00
main.c gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
Makefile gnrc_netif: remove GNRC_NETIF_NUMOF macro 2020-03-26 11:12:23 +01:00
Makefile.board.dep tests/gnrc_ipv6_ext_frag: move board specific deps in Makefile.board.dep 2019-12-06 21:18:48 +01:00
Makefile.ci boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
README.md tests: provide initial tests for gnrc_ipv6_ext_frag 2019-09-16 19:13:19 +02:00
udp.c tests/gnrc_ipv6_ext_frag: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00

gnrc_ipv6_ext_frag test

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

It is intended to just test the fragmentation header handling and generation. For other 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.

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.