1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/gnrc_tcp
benpicco f03f5384c1
Merge pull request #18355 from maribu/sys/shell/cmds
sys/shell: make cmds submodules and add KConfig modeling
2022-09-19 21:07:23 +02:00
..
tests-as-root codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
main.c gnrc_tcp: handle zero size buffers 2021-08-14 17:04:57 +02:00
Makefile examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Makefile.board.dep tests/gnrc_tcp: move board specific deps in Makefile.board.dep 2019-12-06 21:19:35 +01:00
Makefile.ci boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
README.md gnrc_tcp: refactor tests 2021-07-08 14:22:03 +02:00

Test description

The GNRC TCP test test all phases of a tcp connections lifecycle as a server or a client as well as TCP behavior on incoming malformed packets.

Setup

The test requires a tap-device setup. This can be achieved by running 'dist/tools/tapsetup/tapsetup' or by executing the following commands:

sudo ip tuntap add tap0 mode tap user ${USER}
sudo ip link set tap0 up

Usage

make BOARD=<BOARD_NAME> all flash
sudo make BOARD=<BOARD_NAME> test-as-root

'sudo' is required due to ethos and raw socket usage.