2021-05-22 13:41:03 +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
|
2023-05-13 19:01:43 +02:00
|
|
|
follow the SOCK TCP interface as close as possible, detailed tests are under tests/net/gnrc_tcp
|
2021-05-22 13:41:03 +02:00
|
|
|
|
|
|
|
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.
|