public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v3 1/3] lib/tst_res.c: introduce tst_record_childstatus()
Date: Tue, 29 Jul 2014 11:56:56 +0200	[thread overview]
Message-ID: <20140729095656.GA18038@rei> (raw)
In-Reply-To: <1406548301-21888-1-git-send-email-wangxg.fnst@cn.fujitsu.com>

Hi!
> In case we need do real test work in child porcess, it is OK for child process
> to use tst_resm(), tst_brkm() or tst_exit(). Parent process can use
> tst_record_childstatus() to make child process's test results propagated to parent
> process correctly.

Pushed with small enhancements.

I've changed the tst_record_childstatus() to print which signal has
killed the child and made it a bit more verbose. Added simple test under
lib/tests/ etc.

Thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      parent reply	other threads:[~2014-07-29  9:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-13  5:49 [LTP] [PATCH v2 1/2] lib/tst_res.c: introduce tst_record_childstatus() Xiaoguang Wang
2014-07-13  5:49 ` [LTP] [PATCH v2 2/2] syscalls: fix testcases which take TCONF as TFAIL Xiaoguang Wang
2014-07-15 14:24 ` [LTP] [PATCH v2 1/2] lib/tst_res.c: introduce tst_record_childstatus() chrubis
     [not found]   ` <53CCA4B9.2070005@cn.fujitsu.com>
2014-07-22 14:30     ` chrubis
2014-07-28 11:51       ` [LTP] [PATCH v3 1/3] " Xiaoguang Wang
2014-07-28 11:51         ` [LTP] [PATCH v3 2/3] doc: add paragraph to describe using test interface in child process Xiaoguang Wang
2014-07-29  9:58           ` chrubis
2014-07-28 11:51         ` [LTP] [PATCH v3 3/3] syscalls: fix testcases which take TCONF as TFAIL Xiaoguang Wang
2014-07-29 10:09           ` chrubis
2014-07-29  9:56         ` chrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140729095656.GA18038@rei \
    --to=chrubis@suse.cz \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=wangxg.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox