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.

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());

Attachment: ltp-mq_unlink_speculative_7-2.patch
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to