Ricardo/Omar,

I found this useful and is through. Maybe, there are lots of instances
where the LTP scripts need to be modified for the same reason. Please do
send me a patch whenever you find anyone your way.

--Subrata--

On Thu, 2007-09-20 at 01:13 -0300, Ricardo Salveti de Araujo wrote:
> On Wednesday 19 September 2007 07:58:45 Subrata Modak wrote:
> >-------- Forwarded Message --------
> >From: Mohammed Omar <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: [LTP] nfsx-linux not found
> >Date: Wed, 19 Sep 2007 16:22:21 +0530
> >
> >regarding testcase ping
> >ltp-full-20070831/testcases/network/tcp_cmds/ping
> >at line 78, 81, 102 its shown that  ./tst_resm . Instead "./tst_resm"
> >can't we just add "test_resm" as PATH has been exported to
> >ltpXX/testcases/bin.
> >
> >I suggest this bcoz when i ran ping manually from
> >ltp-full-20070831/testcases/network/tcp_cmds/ping
> >i got error like this
> >./ping01: line 78: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 81: ./tst_resm: No such file or directory
> >./ping01: line 102: ./tst_resm: No such file or directory
> 
> Yep, I think that we should use only 'tst_resm' instead of './tst_resm'. 
> 
> With './tst_resm' the test should only work as expected when running it at 
> ltp/testcases/bin:
> piro:/opt/pFVTR/ltp/testcases/bin # ./ping01
> ping01      0  INFO  :  ping with 8 16 32 64 128 256 512 1024 2048 4064 ICMP 
> packets
> ping01      0  INFO  :  calling ping with packet size = 8
> ping01      0  INFO  :  calling ping with packet size = 16
> ping01      0  INFO  :  calling ping with packet size = 32
> ping01      0  INFO  :  calling ping with packet size = 64
> ping01      0  INFO  :  calling ping with packet size = 128
> ping01      0  INFO  :  calling ping with packet size = 256
> ping01      0  INFO  :  calling ping with packet size = 512
> ping01      0  INFO  :  calling ping with packet size = 1024
> ping01      0  INFO  :  calling ping with packet size = 2048
> ping01      0  INFO  :  calling ping with packet size = 4064
> ping01      1  PASS  :  Test Successful
> 
> But, even when calling this test case from the runltp it's not working:
> piro:/opt/pFVTR/ltp # ./runltp -f tcp_cmds -s ping
> ...
> <<<test_output>>>
> incrementing stop
> /opt/pFVTR/ltp/testcases/bin/ping01: line 78: ./tst_resm: No such file or 
> directory
> /opt/pFVTR/ltp/testcases/bin/ping01: line 81: ./tst_resm: No such file or 
> directory
> /opt/pFVTR/ltp/testcases/bin/ping01: line 81: ./tst_resm: No such file or 
> directory
> /opt/pFVTR/ltp/testcases/bin/ping01: line 81: ./tst_resm: No such file or 
> directory
> ...
> 
> To fix this we have to modify the test case and also export the LTPROOT 
> before 
> calling it. This patch that I created fix this problem, thanks for reporting 
> this bug.
> 
> Output with the patch:
> [EMAIL PROTECTED] ltp-64]# ./runltp -f tcp_cmds -s ping
> ...
> <<<test_output>>>
> incrementing stop
> ping01      0  INFO  :  ping with 8 16 32 64 128 256 512 1024 2048 4064 ICMP 
> packets
> ping01      0  INFO  :  calling ping with packet size = 8
> ping01      0  INFO  :  calling ping with packet size = 16
> ping01      0  INFO  :  calling ping with packet size = 32
> ...
> 
> Thanks,
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to