public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [FIX PATCHES] ltp-mq_unlink_speculative_7-2
@ 2009-06-30  7:42 naresh kamboju
  2009-06-30 10:46 ` Kamalesh Babulal
  2009-06-30 11:12 ` Subrata Modak
  0 siblings, 2 replies; 6+ messages in thread
From: naresh kamboju @ 2009-06-30  7:42 UTC (permalink / raw)
  To: ltp-list; +Cc: Brandon Philips, maxin john, Manas Kumar Nayak

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

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 < naresh.kernel@gmail.com >


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 #2: ltp-mq_unlink_speculative_7-2.patch --]
[-- Type: application/octet-stream, Size: 568 bytes --]

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 #3: Type: text/plain, Size: 79 bytes --]

------------------------------------------------------------------------------

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-01 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30  7:42 [LTP] [FIX PATCHES] ltp-mq_unlink_speculative_7-2 naresh kamboju
2009-06-30 10:46 ` Kamalesh Babulal
2009-06-30 11:12 ` Subrata Modak
2009-07-01  8:46   ` naresh kamboju
2009-07-01 13:13     ` Subrata Modak
2009-07-01 13:33       ` naresh kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox