[LTP] [PATCH 2/2] network/README: Document ping dependencies

Petr Vorel pvorel@suse.cz
Sat Mar 30 19:08:18 CET 2024


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/README.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/testcases/network/README.md b/testcases/network/README.md
index e1b1296d6..0b64df01e 100644
--- a/testcases/network/README.md
+++ b/testcases/network/README.md
@@ -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.
-- 
2.43.0



More information about the ltp mailing list