Files
iputils/test
Petr Vorel ce56f9a9ad tests: Add basic testing of output
Partly rewritten python test code to perl based Test::Command framework.
That allows to compare tools output, not just exit code and describes
better the output. Also it can be run standalone (without meson).

Covered mostly ping (but still needs to be improved).
TODO: covert all python tests.

Optional parameter allows to pass binary to be tested (path to binary
would be better, but it'd have to be two directories:
builddir/:builddir/ping/).

ping-01-basics.t mocks getaddrinfo() code in ping. But IDN is not
supported (also due AI_IDN not supported in musl).

Implements: https://github.com/iputils/iputils/issues/243
Closes: https://github.com/iputils/iputils/pull/607
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
2025-09-05 14:17:18 +02:00
..
2025-09-05 14:17:18 +02:00
2025-09-05 14:17:18 +02:00
2025-09-05 14:17:18 +02:00