Hi,

    I introduced this patch '6f6878f4e1406d79cae53564777c5e1245d2a124', sorry. I
agree with you, patch looks good to me, thanks! Or we can also create a file to
record test cases that return TCONF.

Regards,
Xiaoguang Wang
 
On 09/09/2014 02:29 PM, shuang....@oracle.com wrote:
> From: Shuang Qiu <shuang....@oracle.com>
> 
> After commit patch 6f6878f4e1406d79cae53564777c5e1245d2a124,the
> testcases which retrun TCONF should not be written to failcmdfile.
> 
> Signed-off-by: Shuang Qiu <shuang....@oracle.com>
> ---
>  pan/ltp-pan.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/pan/ltp-pan.c b/pan/ltp-pan.c
> index 957199a..711c16a 100644
> --- a/pan/ltp-pan.c
> +++ b/pan/ltp-pan.c
> @@ -802,7 +802,7 @@ check_pids(struct tag_pgrp *running, int *num_active, int 
> keep_active,
>                                       fflush(logfile);
>                               }
>  
> -                             if ((failcmdfile != NULL) && (w != 0)) {
> +                             if ((failcmdfile != NULL) && (w != 0) && (w != 
> TCONF)) {
>                                       fprintf(failcmdfile, "%s %s\n",
>                                               running[i].cmd->name,
>                                               running[i].cmd->cmdline);
> 


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to