Skip to contentSkip to conversation

network/stress: Update README

PATCH New Petr Vorel 2 participants 6 messages Sep 20, 2017 – Jan 24, 2018

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 network/stress: Update README

From: Petr Vorel <[email protected]>

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.

---
I hate 'ltp-yyyymmdd/' path prefix, but I ignored it now.

---
 testcases/network/stress/README | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
testcases/network/stress/README +9 -8
index c0d0ad374..ddb2941ea 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 network/stress: Update README

Hi!

Quoted 7 lines

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.

Quoted 3 lines

---
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?

Signature · 2 lines
Cyril Hrubis
[email protected]
author
#2 lore raw

PATCH 1/1 network/stress: Update README

Hi Cyril,

Quoted 9 lines
Quoted 7 lines

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!

Quoted 5 lines
Quoted 3 lines

---
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

#3 lore raw

PATCH 1/1 network/stress: Update README

Hi!

Quoted 4 lines

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.

Signature · 2 lines
Cyril Hrubis
[email protected]
author
#4 lore raw

PATCH 1/1 network/stress: Update README

Hi Cyril,

Quoted 6 lines
Quoted 4 lines

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

#5 lore raw

PATCH 1/1 network/stress: Update README

Hi!

Quoted 2 lines
Quoted 1 line

Sounds good.

I suppose you meant first variant (just 'INSTALL').

Yes.

Quoted 2 lines

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.

Signature · 2 lines
Cyril Hrubis
[email protected]