* [LTP] [PATCH] pan/ltp-pan.c: TCONF testcases should not be written to failcmdfile
@ 2014-09-09 6:29 shuang.qiu
2014-09-19 8:06 ` Xiaoguang Wang
0 siblings, 1 reply; 3+ messages in thread
From: shuang.qiu @ 2014-09-09 6:29 UTC (permalink / raw)
To: ltp-list
From: Shuang Qiu <shuang.qiu@oracle.com>
After commit patch 6f6878f4e1406d79cae53564777c5e1245d2a124,the
testcases which retrun TCONF should not be written to failcmdfile.
Signed-off-by: Shuang Qiu <shuang.qiu@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);
--
1.7.7
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [LTP] [PATCH] pan/ltp-pan.c: TCONF testcases should not be written to failcmdfile
2014-09-09 6:29 [LTP] [PATCH] pan/ltp-pan.c: TCONF testcases should not be written to failcmdfile shuang.qiu
@ 2014-09-19 8:06 ` Xiaoguang Wang
2014-09-19 12:35 ` chrubis
0 siblings, 1 reply; 3+ messages in thread
From: Xiaoguang Wang @ 2014-09-19 8:06 UTC (permalink / raw)
To: shuang.qiu; +Cc: ltp-list
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.qiu@oracle.com wrote:
> From: Shuang Qiu <shuang.qiu@oracle.com>
>
> After commit patch 6f6878f4e1406d79cae53564777c5e1245d2a124,the
> testcases which retrun TCONF should not be written to failcmdfile.
>
> Signed-off-by: Shuang Qiu <shuang.qiu@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-19 12:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 6:29 [LTP] [PATCH] pan/ltp-pan.c: TCONF testcases should not be written to failcmdfile shuang.qiu
2014-09-19 8:06 ` Xiaoguang Wang
2014-09-19 12:35 ` chrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox