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/README.md

33 lines
982 B
Markdown
Raw Normal View History

# `gnrc_ipv6_ext` test
2018-10-30 18:09:41 +01:00
This test utilizes [scapy] to test the IPv6 Extension header parsing.
2018-10-30 18:09:41 +01:00
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
```
2018-10-30 18:09:41 +01:00
sudo make test
```
2018-10-30 18:09:41 +01:00
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`),
2018-10-30 18:09:41 +01:00
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.
2018-10-30 18:09:41 +01:00
[scapy]: https://scapy.readthedocs.io/en/latest/