Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread Brandon Philips
On 21:13 Fri 07 Aug 2009, naresh kamboju wrote: > ltp-fix-mq_send_5-1.patch FYI, this attached patch uses Windows ^M line endings. Cheers, Brandon -- Let Crystal Reports handle the reporting - Free Crystal Repor

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-08-07 Thread Brandon Philips
log before and after the patch. > So I have modified the patch such a way that it should not affect > other test cases. Acked-by: Brandon Philips Thanks for doing this. Cheers, Brandon -- Let Crystal Reports

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2009-07-20 Thread Brandon Philips
On 12:35 Tue 30 Jun 2009, naresh kamboju wrote: > I have noticed some issue with your patch dated on 12-Dec-2008. > I want conform the problem and root cause. What is the problem? > Could you send me your open posix full Results logs of before and > after your patch with ARCH and Kernel versions?

Re: [LTP] Unable to install LTP- ltp-full-20090228

2009-03-25 Thread Brandon Philips
On 15:46 Wed 25 Mar 2009, naveen penumala wrote: > I'm trying to install new LTP into my Linux machine (SuSe 10.1) but I got > the below error message. > Here i'm using SUSE 10.1, kernel version is 2.6.16 and LTP is > ltp-full-20090228 (feb-2009 release). > > signalfd01.c:58:26: error: sys/signalf

Re: [LTP] v4l-test 0.2 released

2008-12-23 Thread Brandon Philips
2008/12/22 Németh Márton : > I started a project to test the Linux drivers based on Video for Linux > Two (V4L2) API, release 0.24. This project is using the CUnit framework > and is available at http://v4l-test.sourceforge.net/ . > > I found your project at http://ltp.sourceforge.net/ . As far as

Re: [LTP] [RFC][PATCH 2/2] check that si_pid is correct in the __do_notify path (child to father)

2008-12-11 Thread Brandon Philips
On 08:32 Fri 05 Dec 2008, nadia.der...@bull.net wrote: > + if (mq_notify(mqd, ¬if) == (mqd_t)-1) { > + tst_resm(TBROK, "parent: mq_notify() failed (%s)", > + strerror(errno)); > + mq_close(mqd); > + mq_unlink(mqname); > + remov

Re: [LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2008-12-11 Thread Brandon Philips
On 18:29 Thu 11 Dec 2008, Subrata Modak wrote: > Hi Brandon, > > On Mon, 2008-12-08 at 21:05 -0800, Brandon Philips wrote: > > Version 2: The test failed a few hours after I sent this off. I think it > > was caused by a pid collision which caused the test to use the same &g

Re: [LTP] [RFC][PATCH 2/2] check that si_pid is correct in the __do_notify path (child to father)

2008-12-11 Thread Brandon Philips
On 08:32 Fri 05 Dec 2008, nadia.der...@bull.net wrote: > + mqd = mq_open(mqname, O_WRONLY); > + if (mqd == (mqd_t)-1) { > + tst_resm(TBROK, "cinit: mq_open() failed (%s)", > + strerror(errno)); > + cleanup(TBROK); > + } Use O_EXCL to ensure y

[LTP] [PATCH v2] mq_send/5-1.c: Fix race conditions in the test

2008-12-08 Thread Brandon Philips
ces/mq_send/5-1.test $ conformance/interfaces/mq_send/5-1.test Signed-off-by: Brandon Philips <[EMAIL PROTECTED]> --- testcases/open_posix_testsuite/conformance/interfaces/mq_send/5-1.c | 84 +- testcases/open_posix_testsuite/include/posixtest.h | 83 +

[LTP] [PATCH] mq_send/5-1.c: Fix race conditions in the test

2008-12-03 Thread Brandon Philips
this is testing blocking calls). # Apply to root of ltp-full-20081031 tree $ cd testcases/open_posix_testsuite/ $ make conformance/interfaces/mq_send/5-1.test $ conformance/interfaces/mq_send/5-1.test Signed-off-by: Brandon Philips <[EMAIL PROTECTED]> --- testcases/open_posix_tes