From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XC4AA-0001H0-Hz for ltp-list@lists.sourceforge.net; Tue, 29 Jul 2014 09:57:42 +0000 Date: Tue, 29 Jul 2014 11:56:56 +0200 From: chrubis@suse.cz Message-ID: <20140729095656.GA18038@rei> References: <20140722143000.GA22955@rei> <1406548301-21888-1-git-send-email-wangxg.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1406548301-21888-1-git-send-email-wangxg.fnst@cn.fujitsu.com> Subject: Re: [LTP] [PATCH v3 1/3] lib/tst_res.c: introduce tst_record_childstatus() List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Xiaoguang Wang Cc: ltp-list@lists.sourceforge.net 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