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 ? 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
