* [LTP] [PATCH 1/1] network/stress: Update README
@ 2017-09-20 9:29 Petr Vorel
2018-01-24 11:18 ` Cyril Hrubis
0 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2017-09-20 9:29 UTC (permalink / raw)
To: ltp
From: Petr Vorel <petr.vorel@gmail.com>
networkstress.sh was merged into network.sh and then deleted in
fddb4f3c7 ("network: remove outdated network runtests and scripts")
Also same of network stress tests use test_net.sh instead of using
deprecated LTP_RSH.
This fixes #203.
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
I hate 'ltp-yyyymmdd/' path prefix, but I ignored it now.
---
testcases/network/stress/README | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/testcases/network/stress/README b/testcases/network/stress/README
index c0d0ad374..ddb2941ea 100644
--- a/testcases/network/stress/README
+++ b/testcases/network/stress/README
@@ -37,24 +37,25 @@ Installation
Like the other network tests, the remote host must have the LTP installed
in the same exact location as the local host have. Please refer the `Detailed
-Installation 6.' section in ltp-yyyymmdd/INSTALL.
+Installation 5.' section in ltp-yyyymmdd/INSTALL.
Execution
=========
-To run the network stress testcases, networkstress.sh is prepared in
-ltp-yyyymmdd/testscripts directory. Some envrionment variables have to be
-set for the stress testcases. Please fill the environment variable in
-networkstress.sh.
+To run the network stress testcases, use network.sh script, located in
+ltp-yyyymmdd/testscripts directory. For documentation about using network.sh
+see ltp-yyyymmdd/INSTALL and ltp-yyyymmdd/testcases/network/README.md
-Like the other network stress tests, the remote host must be setup to allow
-the local host connection using rsh. Please refer the `Detailed
-Installation 6.' section in ltp-yyyymmdd/INSTALL.
+Unfortunately some stress tests still depend on rsh for accessing remote host, even
+you decide to use SSH or network namespaces with network.sh.
Instead of rsh, you can use ssh to set the environment variable LTP_RSH.
Please refer the `Environment Variable' section of this document.
+The behaviour of network stress tests is configurable with environment
+variables, described below.
+
Two command lists is prepared in ltp-yyyymmdd/runtest directory.
network_stress.whole : 118 kinds 615 tests
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [LTP] [PATCH 1/1] network/stress: Update README
2017-09-20 9:29 [LTP] [PATCH 1/1] network/stress: Update README Petr Vorel
@ 2018-01-24 11:18 ` Cyril Hrubis
2018-01-24 13:10 ` Petr Vorel
0 siblings, 1 reply; 6+ messages in thread
From: Cyril Hrubis @ 2018-01-24 11:18 UTC (permalink / raw)
To: ltp
Hi!
> networkstress.sh was merged into network.sh and then deleted in
> fddb4f3c7 ("network: remove outdated network runtests and scripts")
>
> Also same of network stress tests use test_net.sh instead of using
> deprecated LTP_RSH.
>
> This fixes #203.
Looks good, acked.
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> I hate 'ltp-yyyymmdd/' path prefix, but I ignored it now.
I do not like it either about we changed that to ltp-* or ltp-foo?
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
* [LTP] [PATCH 1/1] network/stress: Update README
2018-01-24 11:18 ` Cyril Hrubis
@ 2018-01-24 13:10 ` Petr Vorel
2018-01-24 13:21 ` Cyril Hrubis
0 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2018-01-24 13:10 UTC (permalink / raw)
To: ltp
Hi Cyril,
> > networkstress.sh was merged into network.sh and then deleted in
> > fddb4f3c7 ("network: remove outdated network runtests and scripts")
> > Also same of network stress tests use test_net.sh instead of using
> > deprecated LTP_RSH.
> > This fixes #203.
> Looks good, acked.
Thanks a lot for your review!
> > Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> > ---
> > I hate 'ltp-yyyymmdd/' path prefix, but I ignored it now.
> I do not like it either about we changed that to ltp-* or ltp-foo?
I'd propose to use simple relative path, e.g. INSTALL. Most of the projects use it (at
least for files like README or INSTALL in root of source tree.
Or, if we really need absolute path, lets use $LTPROOT, e.g. $LTPROOT/INSTALL.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 6+ messages in thread
* [LTP] [PATCH 1/1] network/stress: Update README
2018-01-24 13:10 ` Petr Vorel
@ 2018-01-24 13:21 ` Cyril Hrubis
2018-01-24 14:13 ` Petr Vorel
0 siblings, 1 reply; 6+ messages in thread
From: Cyril Hrubis @ 2018-01-24 13:21 UTC (permalink / raw)
To: ltp
Hi!
> I'd propose to use simple relative path, e.g. INSTALL. Most of the projects use it (at
> least for files like README or INSTALL in root of source tree.
>
> Or, if we really need absolute path, lets use $LTPROOT, e.g. $LTPROOT/INSTALL.
Sounds good.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
* [LTP] [PATCH 1/1] network/stress: Update README
2018-01-24 13:21 ` Cyril Hrubis
@ 2018-01-24 14:13 ` Petr Vorel
2018-01-24 14:18 ` Cyril Hrubis
0 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2018-01-24 14:13 UTC (permalink / raw)
To: ltp
Hi Cyril,
> > I'd propose to use simple relative path, e.g. INSTALL. Most of the projects use it (at
> > least for files like README or INSTALL in root of source tree.
> > Or, if we really need absolute path, lets use $LTPROOT, e.g. $LTPROOT/INSTALL.
> Sounds good.
I suppose you meant first variant (just 'INSTALL').
String 'ltp-yyyymmdd/' is in 421 files. If you don't mind I'll keep this commit how it is
and remove 'ltp-yyyymmdd/' from all files in one commit.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 6+ messages in thread
* [LTP] [PATCH 1/1] network/stress: Update README
2018-01-24 14:13 ` Petr Vorel
@ 2018-01-24 14:18 ` Cyril Hrubis
0 siblings, 0 replies; 6+ messages in thread
From: Cyril Hrubis @ 2018-01-24 14:18 UTC (permalink / raw)
To: ltp
Hi!
> > Sounds good.
> I suppose you meant first variant (just 'INSTALL').
Yes.
> String 'ltp-yyyymmdd/' is in 421 files. If you don't mind I'll keep this commit how it is
> and remove 'ltp-yyyymmdd/' from all files in one commit.
That's reasonable as well.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-01-24 14:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-20 9:29 [LTP] [PATCH 1/1] network/stress: Update README Petr Vorel
2018-01-24 11:18 ` Cyril Hrubis
2018-01-24 13:10 ` Petr Vorel
2018-01-24 13:21 ` Cyril Hrubis
2018-01-24 14:13 ` Petr Vorel
2018-01-24 14:18 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox