runtest/multicast: wrong TCsrc path exported for multicast tests
PATCH 2/2 runtest/multicast: wrong TCsrc path exported for multicast tests
While running networktest for multicast ; "mc_member" test displays the following error message multiple times
"cat: /opt/ltp/testcases/inetwork/multicast/mc_menmber/ManyGroups: No such file or directory".
This is Because variable "TCsrc" is exported with incorrect path. Looks like previously LTP test scripts installed and ran directly from source directory . Now it installs mulicast test binary and script files to "$LTPROOT/testcases/bin" directory. Hence the variable "TCsrc" needed to be exported with above mentioned install path.
runtest/multicast +0 -0
@@ -3,6 +3,6 @@
# PLEASE READ THE README FILE IN /multicast BEFORE RUNNING THESE. #mc_cmds mc_cmds
-mc_commo export TCsrc=$LTPROOT/testcases/network/multicast/mc_commo; mc_commo
-mc_member export TCsrc=$LTPROOT/testcases/network/multicast/mc_member; mc_member
-mc_opts export TCsrc=$LTPROOT/testcases/network/multicast/mc_opts; mc_opts
+mc_commo export TCsrc=$LTPROOT/testcases/bin; mc_commo +mc_member export TCsrc=$LTPROOT/testcases/bin; mc_member +mc_opts export TCsrc=$LTPROOT/testcases/bin; mc_opts
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 26 lines · On Thu, Jul 15, 2010 at 11:12 PM, <[email protected]> wrote:
While running networktest for multicast ; "mc_member" test displays the following error message multiple times
"cat:/opt/ltp/testcases/inetwork/multicast/mc_menmber/ManyGroups: No such file or directory".
This is Because variable "TCsrc" is exported with incorrect path. Looks like previously LTP test scripts installed and ran directly from source directory . Now it installs mulicast test binary and script files to "$LTPROOT/testcases/bin" directory. Hence the variable "TCsrc" needed to be exported with above mentioned install path.Signed-off-by Sumit Dhoot <[email protected]>Index: ltp-full-20100630/runtest/multicast
===================================================================runtest/multicast +0
-0@@ -3,6 +3,6 @@ # PLEASE READ THE README FILE IN /multicast BEFORE RUNNING THESE. #
mc_cmdsmc_cmds
-mc_commo export TCsrc=$LTPROOT/testcases/network/multicast/mc_commo;mc_commo
-mc_member export TCsrc=$LTPROOT/testcases/network/multicast/mc_member;mc_member
-mc_opts export TCsrc=$LTPROOT/testcases/network/multicast/mc_opts;mc_opts
runtest/multicast
Quoted 3 lines
runtest/multicast +3
-0+mc_commo export TCsrc=$LTPROOT/testcases/bin; mc_commo +mc_member export TCsrc=$LTPROOT/testcases/bin; mc_member +mc_opts export TCsrc=$LTPROOT/testcases/bin; mc_opts
ACK
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list