On Wed, May 16, 2012 at 7:47 PM, Peng Haitao <[email protected]> wrote:
>
> Garrett Cooper said the following on 2012-5-17 10:40:
>>> You can easily trigger this problem with the following spoofed runtest 
>>> scenario:
>>>
>>> aok echo "hello"
>>> donotexist donotexist
>>> exit_quickly exit 1
>>> true true
>>>
>
> The test log is as follows:
>
> Running tests.......
> <<<test_start>>>
> tag=aok stime=1337251363
> cmdline="echo "hello""
> contacts=""
> analysis=exit
> <<<test_output>>>
> hello
> <<<execution_status>>>
> initiation_status="ok"
> duration=0 termination_type=exited termination_id=0 corefile=no
> cutime=0 cstime=0
> <<<test_end>>>
> <<<test_start>>>
> tag=donotexist stime=1337251363
> cmdline="donotexist"
> contacts=""
> analysis=exit
> <<<test_output>>>
> <<<execution_status>>>
> initiation_status="pan(17520): execvp of 'donotexist' (tag donotexist) 
> failed.                                                   errno:2  No such 
> file or directory"
> duration=0 termination_type=exited termination_id=2 corefile=no
> cutime=0 cstime=0
> <<<test_end>>>
> <<<test_start>>>
> tag=exit_quickly stime=1337251363
> cmdline="exit 1"
> contacts=""
> analysis=exit
> <<<test_output>>>
> <<<execution_status>>>
> initiation_status="pan(17520): execvp of 'exit' (tag exit_quickly) failed.  
> errn                                                 o:2  No such file or 
> directory"

I suppose it would have worked, had this actually been a command and
not a shell built-in. Could you please replace 'exit 1' with 'false'?

...

Thanks!
-Garrett

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to