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, [email protected] wrote:
> From: Shuang Qiu <[email protected]>
>
> After commit patch 6f6878f4e1406d79cae53564777c5e1245d2a124,the
> testcases which retrun TCONF should not be written to failcmdfile.
>
> Signed-off-by: Shuang Qiu <[email protected]>
> ---
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list