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
benpicco 4d9e8a8dde
Merge pull request #20335 from fzi-haxel/pr/native64-board
native64: Separate board for 64-bit native
2024-02-05 22:58:02 +00:00
..
tests-as-root examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
main.c tests: move net related applications to tests/net 2023-05-12 16:36:39 +02:00
Makefile examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.board.dep examples, tests: Changes for the native64 board 2024-02-05 22:02:14 +01:00
Makefile.ci boards/weact-g030f6: add new board 2024-02-05 00:45:42 +01:00
README.md tests: fix remaining broken paths to tests 2023-05-13 19:08:39 +02:00

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.