Skip to content

Commit

Permalink
network/README: Document ping dependencies
Browse files Browse the repository at this point in the history
Link: https://lore.kernel.org/ltp/20240330180818.246499-2-pvorel@suse.cz/
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed Apr 5, 2024
1 parent 64b1165 commit 6f97789
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testcases/network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ Tests which use `tst_netload_compare()` test also performance. They can fail on
overloaded SUT. To ignore performance failure and test only the network functionality,
set `LTP_NET_FEATURES_IGNORE_PERFORMANCE_FAILURE=1` environment variable.

## Dependencies

Some network tests which use `tst_ping()` function require `ping` with `-I` support,
which is not supported by `ping` from [inetutils](https://www.gnu.org/software/inetutils/).
Use `ping` from [iputils](https://github.com/iputils/iputils/) or from [BusyBox](https://busybox.net/)
(configured with `CONFIG_FEATURE_IPV6=y` `CONFIG_FEATURE_FANCY_PING=y`).

## Debugging
Both single and two host configurations support debugging via
`TST_NET_RHOST_RUN_DEBUG=1` environment variable.

0 comments on commit 6f97789

Please sign in to comment.