1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/net/gnrc_sock_tcp
Oleg Hahm 99ff9bad03 examples: tests: update native TERMFLAGS
Updating the Makefiles for example and test applications to set the
TERMFLAGS correctly for native.
2023-12-18 13:44:20 +01:00
..
tests-as-root
main.c
Makefile examples: tests: update native TERMFLAGS 2023-12-18 13:44:20 +01:00
Makefile.board.dep
Makefile.ci examples, tests: update Makefile.ci for AVR8 2023-12-01 19:37:05 +01:00
README.md

Test description

The testsuite tests the GNRC TCP integration into the SOCK TCP interface. The tests offer only basic verification of the SOCK TCP interface since GNRC TCP aims follow the SOCK TCP interface as close as possible, detailed tests are under tests/net/gnrc_tcp

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.