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-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1PanUZ-0002l0-DK for ltp-list@lists.sourceforge.net; Thu, 06 Jan 2011 10:54:51 +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 1PanUY-0004E6-2V for ltp-list@lists.sourceforge.net; Thu, 06 Jan 2011 10:54:51 +0000 Received: from tang.cn.fujitsu.com (tang.cn.fujitsu.com [10.167.250.3]) by song.cn.fujitsu.com (Postfix) with ESMTP id 579E0170138 for ; Thu, 6 Jan 2011 18:54:39 +0800 (CST) Received: from mailserver.fnst.cn.fujitus.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id p06AnXc8019049 for ; Thu, 6 Jan 2011 18:49:33 +0800 Message-ID: <4D259FED.3070001@cn.fujitsu.com> Date: Thu, 06 Jan 2011 18:56:45 +0800 From: tangchen MIME-Version: 1.0 References: <4D259E4A.2050704@cn.fujitsu.com> In-Reply-To: <4D259E4A.2050704@cn.fujitsu.com> Subject: [LTP] [PATCH 02/13]Add missing parameters for tst_brkm() 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: ltp-list@lists.sourceforge.net Signed-off-by: Tang Chen --- testcases/kernel/syscalls/flock/flock04.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/kernel/syscalls/flock/flock04.c b/testcases/kernel/syscalls/flock/flock04.c index cd6b230..a3bc855 100644 --- a/testcases/kernel/syscalls/flock/flock04.c +++ b/testcases/kernel/syscalls/flock/flock04.c @@ -123,7 +123,7 @@ int main(int argc, char **argv) exit(0); } else if (wait(&status) == -1) - tst_brkm(TBROK|TERRNO, "wait failed"); + tst_brkm(TBROK|TERRNO, cleanup, "wait failed"); pid = FORK_OR_VFORK(); if (pid == -1) @@ -144,7 +144,7 @@ int main(int argc, char **argv) exit(0); } else if (wait(&status) == -1) - tst_brkm(TBROK|TERRNO, "wait failed"); + tst_brkm(TBROK|TERRNO, cleanup, "wait failed"); TEST(flock(fd, LOCK_UN)); } else tst_resm(TFAIL|TERRNO, "flock failed"); -- 1.7.0.4 -- Best Regards, Tang chen -------------------------------------------------- Tang Chen Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No.6 Wenzhu Road, Nanjing, 210012, China TEL: +86+25-86630566-8513 FUJITSU INTERNAL: 7998-8513 FAX: +86+25-83317685 EMail: tangchen@cn.fujitsu.com -------------------------------------------------- This communication is for use by the intended recipient(s) only and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not an intended recipient of this communication, you are hereby notified that any dissemination, distribution or copying hereof is strictly prohibited. If you have received this communication in error, please notify me by reply e-mail, permanently delete this communication from your system, and destroy any hard copies you may have printed ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list