* [LTP] [PATCH 1/3] doc: update networking related documentation
2016-11-10 8:22 [LTP] [PATCH 0/3] network: updated doc Petr Vorel
@ 2016-11-10 8:22 ` Petr Vorel
2016-11-10 8:22 ` [LTP] [PATCH 2/3] doc: replace ltp.cvs.sourceforge.net links by path Petr Vorel
2016-11-10 8:22 ` [LTP] [PATCH 3/3] runalltests.sh: update network related scripts paths Petr Vorel
2 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2016-11-10 8:22 UTC (permalink / raw)
To: ltp
networktests.sh was removed in fddb4f3.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
INSTALL | 25 ++++++++++---------------
doc/ltp-run-files.txt | 2 +-
2 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/INSTALL b/INSTALL
index ca9b98d..cb4fff9 100644
--- a/INSTALL
+++ b/INSTALL
@@ -196,8 +196,8 @@ contributions are welcome.
in the CD-ROM drive. The corresponding tests will fail if either disk is
missing.
-6. The network tests are executed by running the networktests.sh script. The
- network tests require some configuration for them to work correctly:
+6. The network tests are executed by running the network.sh script. The network
+ tests require some configuration for them to work correctly:
i) First, there MUST be another test machine setup to act as the server
to these client side tests. This machine MUST have the LTP installed
@@ -231,23 +231,18 @@ contributions are welcome.
Also, because certain RPC programs are tested, the "portmapper" daemon
MUST be started, as well as NFS server AND lock services.
- iv) Finally, before running the networktests.sh script, two variables must
- be set within the script file. The "RHOST" variable should be set to
- the hostname of the server. The "PASSWD" variable should be set to
- root's password on the server machine. This is necessary for tests
- such as telnet01 and ftp01.
+ iv) Finally, before running the network.sh script, two variables must be
+ set: The "RHOST" variable should be set to the hostname of the server. The
+ "PASSWD" variable should be set to root's password on the server machine.
+ This is necessary for tests such as telnet01 and ftp01.
- You can now successfully execute the networktests.sh script.
- When you would like to run the whole network tests, specify -w option:
- # ./networktests.sh -w
-
- When you would like to run the same tests which networktests.sh ran till
- 2008, specify no option or -d option:
- # ./networktests.sh
+ You can now successfully execute the network.sh script.
You can run the test category which you are interested in, -h option shows
the list of the test category:
- # ./netwoktests.sh -h
+ # ./network.sh -h
+
+ For more info about howto run network.sh see testcases/network/README.md.
Cross compiling
diff --git a/doc/ltp-run-files.txt b/doc/ltp-run-files.txt
index 5da5747..0b4cc48 100644
--- a/doc/ltp-run-files.txt
+++ b/doc/ltp-run-files.txt
@@ -27,7 +27,7 @@ Device Mapper tests
- ltpdmmapper.sh
Network tests
- - networktests.sh
+ - network.sh
- testcases/network/sockets/ltpSockets.sh
other filesystem or disk type tests
--
2.10.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* [LTP] [PATCH 2/3] doc: replace ltp.cvs.sourceforge.net links by path
2016-11-10 8:22 [LTP] [PATCH 0/3] network: updated doc Petr Vorel
2016-11-10 8:22 ` [LTP] [PATCH 1/3] doc: update networking related documentation Petr Vorel
@ 2016-11-10 8:22 ` Petr Vorel
2016-11-10 8:22 ` [LTP] [PATCH 3/3] runalltests.sh: update network related scripts paths Petr Vorel
2 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2016-11-10 8:22 UTC (permalink / raw)
To: ltp
+ remove outdated links and minor cleanup.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
runalltests.sh | 17 ++++++++---------
testcases/kernel/fs/fs_bind/TODO | 2 --
2 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/runalltests.sh b/runalltests.sh
index 20086b6..6e48c38 100755
--- a/runalltests.sh
+++ b/runalltests.sh
@@ -70,24 +70,22 @@ export LIBATTR_INSTALLED=0
## Set this to 1 if you wish to execute the stress_cd tests
## Make sure you have FLOPPY inserted, be warned that you
-## will loose all data on it after the tests,
+## will loose all data on it after the tests.
export RUN_STRESS_FLOPPY=0
## Set this to 1 if you wish to execute the stress_floppy tests
-## Make sure you have CD inserted in your CD-ROM drive,
+## Make sure you have CD inserted in your CD-ROM drive.
export RUN_STRESS_CD=0
-##Set this to 1 if you wish to run the CPUHOTPLUG tests
+## Set this to 1 if you wish to run the CPUHOTPLUG tests
export RUN_CPU_HOTPLUG=0
##Set this to 1 if you wish to run the LTP-NETWORK tests. Please refer to:
-## http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/LTP-Network-test_README.pdf
-## for more information on how to run the tests.
+## testcases/network/README.md for more information on how to run the tests.
export RUN_LTP_NETWORK_TESTS=0
-##Set this to 1 if you wish to run the LTP-NETWORK-STRESS tests. Please refer to:
-## http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/LTP-Network-test_README.pdf
-## and http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/stress/README
+## Set this to 1 if you wish to run the LTP-NETWORK-STRESS tests. Please refer to:
+## testcases/network/README.md and testcases/network/stress/README
## for more information on how to run the NETWORK-STRESS tests.
export RUN_LTP_NETWORK_STRESS_TESTS=0
@@ -113,7 +111,8 @@ export NFS_SERVER_DISK_PARTITION1=yyy
export NFS_SERVER_FS_TYPE1=zzz
-## Set this to 1 if you wish to run the FS tests on READ ONLY File Systems. Refer to http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testscripts/Readme_ROBind for more info
+## Set this to 1 if you wish to run the FS tests on READ ONLY File Systems.
+## Refer to testscripts/Readme_ROBind for more info.
export RUN_RO_ONLY_FS_TESTS=0
export READ_ONLY_DIRECTORY1=xxxx
diff --git a/testcases/kernel/fs/fs_bind/TODO b/testcases/kernel/fs/fs_bind/TODO
index 567a33a..1730148 100644
--- a/testcases/kernel/fs/fs_bind/TODO
+++ b/testcases/kernel/fs/fs_bind/TODO
@@ -1,5 +1,3 @@
-Reuse http://ltp.cvs.sourceforge.net/*checkout*/ltp/ltp/testcases/kernel/containers/check_for_unshare.c to test for unshare (used in nsclone.c) ??
-
Consider replacing long invocations
(replace "$FS_BIND_ROOT/bin/makedir") with something shorter).
--
2.10.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [LTP] [PATCH 3/3] runalltests.sh: update network related scripts paths
2016-11-10 8:22 [LTP] [PATCH 0/3] network: updated doc Petr Vorel
2016-11-10 8:22 ` [LTP] [PATCH 1/3] doc: update networking related documentation Petr Vorel
2016-11-10 8:22 ` [LTP] [PATCH 2/3] doc: replace ltp.cvs.sourceforge.net links by path Petr Vorel
@ 2016-11-10 8:22 ` Petr Vorel
2016-11-10 9:52 ` Cyril Hrubis
2 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2016-11-10 8:22 UTC (permalink / raw)
To: ltp
networktests.sh and networkstress.sh scripts were removed in fddb4f3.
network tests are running the same tests as it was default in
networktests.sh, networkstress.sh are running all tests (default was to
display help).
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
runalltests.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runalltests.sh b/runalltests.sh
index 6e48c38..a899473 100755
--- a/runalltests.sh
+++ b/runalltests.sh
@@ -367,7 +367,7 @@ fi
## START => Test Series 12 ##
if [ $RUN_LTP_NETWORK_TESTS -eq 1 ]
then
- (cd $LTPROOT/testscripts/; ./networktests.sh)
+ (cd $LTPROOT/testscripts/; ./network.sh -m -n -r -t)
fi
## END => Test Series 12 ##
@@ -375,7 +375,7 @@ fi
## START => Test Series 13 ##
if [ $RUN_LTP_NETWORK_STRESS_TESTS -eq 1 ]
then
- (cd $LTPROOT/testscripts/; ./networkstress.sh)
+ (cd $LTPROOT/testscripts/; ./network.sh -w)
fi
## END => Test Series 13 ##
--
2.10.2
^ permalink raw reply related [flat|nested] 5+ messages in thread