On Wed, 2009-07-01 at 14:16 +0530, naresh kamboju wrote: > On Tue, Jun 30, 2009 at 4:42 PM, Subrata > Modak<[email protected]> wrote: > > Hi Naresh, > > > > On Tue, 2009-06-30 at 13:12 +0530, naresh kamboju wrote: > >> Hi, > >> > >> I have noticed failure under open_posix_testsuite for > >> mq_unlink/speculative/7-2.c and fixed. > >> After changing the uninitialized to initialized char array of mqname[] > >> test case got PASSED. > > > > Great. Could you also please share with us the test results before and > > after this patch ? > > Before patch Results: > > conformance/interfaces/mq_unlink/speculative/7-2: execution: FAILED > # ./7-2.test > Test FAILED, error is Invalid argument > > After patch Results: > > conformance/interfaces/mq_unlink/speculative/7-2: execution: PASS > # ./7-2.test > Test PASSED
Thanks. What better way to start July to checkin your patch. Regards-- Subrata > > > Best regards, > Naresh Kamboju > > > > > Regards-- > > Subrata > > > >> > >> I have attached patch and below. > >> Please review the same. > >> > >> > >> Best Regards > >> Naresh Kamboju > >> > >> Signed-off-by: Naresh Kamboju < [email protected] > > >> > >> > >> diff -Naurb > >> a/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/speculative/7-2.c > >> b/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/speculative/7-2.c > >> --- > >> a/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/speculative/7-2.c > >> 2005-06-03 22:00:59.000000000 +0530 > >> +++ > >> b/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/speculative/7-2.c > >> 2009-06-30 12:37:35.000000000 +0530 > >> @@ -28,7 +28,7 @@ > >> > >> int main() > >> { > >> - char mqname[50]; > >> + char mqname[50]="/123"; > >> > >> // sprintf(mqname, FUNCTION "_" TEST "_%d", getpid()); > > > > ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
