[LTP] Invoking networking tests
Alexey Kodanev
alexey.kodanev@oracle.com
Thu Dec 8 12:26:08 CET 2016
Hi Petr,
On 12/07/2016 05:18 PM, Petr Vorel wrote:
> Hi Alexey,
>
> we're going to run LTP networking tests to against openSUSE and SUSE. Is there anything
> you'd like to change on invoking these tests? Anything deprecated?
You can invoke network test as other LTP tests, just make sure you
provided all
the necessary environment variables, all of them have default values, so
youneed to
make sure they were set appropriately according to your environment.
Please also see the recent patch:
5f8ca6c ("network: test_net.sh: allow to run network tests on a single
machine")
And any improvements are always welcome.
> I see that scripts are run by ltp-pan (via. testscripts/network.sh wrapper), which is I
> suppose standard way how to run any test in LTP (as it is in runltp and half of
> testscripts/*.sh scripts).
> How about testcases/lib/test_net.sh and testcases/lib/test.sh scripts? Not deprecated?
Not deprecated, i.e. if you encounter that a shell test not using either
of these two,
it's quite outdated and needs to be converted to the newer library.
> BTW: what is the purpose of testscripts/*.sh scripts, why it isn't everything integrated
> into runltp?
Just a wrapper script for ltp-pan, provides convenient options to run
network tests.
Some time ago network.sh used to have more functionality, like default
values for
network environment variables, but now they all have moved to
test_net.sh so we
don't depend on this script anymore.
Best regards,
Alexey
More information about the ltp
mailing list