From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Pfpjq-0007O1-Cn for ltp-list@lists.sourceforge.net; Thu, 20 Jan 2011 08:19:26 +0000 Received: from [222.73.24.84] (helo=song.cn.fujitsu.com) by sog-mx-4.v43.ch3.sourceforge.com with esmtp (Exim 4.72) id 1Pfpjp-0002dn-1R for ltp-list@lists.sourceforge.net; Thu, 20 Jan 2011 08:19:26 +0000 Message-ID: <4D37F00B.8020402@cn.fujitsu.com> Date: Thu, 20 Jan 2011 16:19:23 +0800 From: Peng Haitao MIME-Version: 1.0 Subject: [LTP] [PATCH] rt_sigprocmask01: fix error of wrong return code 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: Garrett Cooper Cc: ltp-list@lists.sourceforge.net Hi Garrett, "return 1" should be replaced with "tst_exit()". Signed-off-by: Peng Haitao --- .../syscalls/rt_sigprocmask/rt_sigprocmask01.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c b/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c index fca2276..c052a3a 100644 --- a/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c +++ b/testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01.c @@ -236,6 +236,5 @@ int main(int ac, char **av) { cleanup(); - return 1; - -} \ No newline at end of file + tst_exit(); +} -- 1.7.3.1 -- Best Regards, Peng Haitao ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list