summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-02-26 14:26:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-02-26 14:26:23 +0000
commit68cc3adb75d2b2084f75291f4801eb16362d7c8c (patch)
treee3dd24fb4604cc47d79979e16ab8792713417633 /testsuites/psxtests/psxmsgq01/init.c
parent2004-02-24 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-68cc3adb75d2b2084f75291f4801eb16362d7c8c.tar.bz2
2004-02-26 Sébastien Barré <sbarre@sdelcc.com>
PR 582/core * psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Fix the POSIX message queue test so more of it runs now.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/init.c')
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c
index 26fca6c738..85866bc0c2 100644
--- a/testsuites/psxtests/psxmsgq01/init.c
+++ b/testsuites/psxtests/psxmsgq01/init.c
@@ -1008,6 +1008,7 @@ void verify_with_threads()
char message[100];
+#if 0
/*
* Create a task then block until the task sends the message.
* Task tests set attributes so one queue will have a thread
@@ -1022,7 +1023,7 @@ void verify_with_threads()
fatal_int_service_status( status, -1, "mq_receive error return status");
fatal_posix_service_status( errno, EAGAIN, "mq_receive errno EAGAIN");
print_current_time( "Init: ", "" );
-
+#endif
/*
* Create a task then block until the task sends the message.
* Task tests set attributes so one queue will have a thread
@@ -1035,8 +1036,11 @@ void verify_with_threads()
Read_msg_from_que( BLOCKING, 0 ); /* Block until init writes */
print_current_time( "Init: ", "" );
+#if 0
/*
- * Create a task then block until the task reads a message.
+ * Fill the queue then create a task then block until the task receives a message.
+ * Task tests set attributes so one queue will have a thread
+ * blocked while attributes are changed.
*/
Start_Test( "multi-thread Task 4 Send Test" );
@@ -1049,7 +1053,7 @@ void verify_with_threads()
fatal_posix_service_status( errno, EAGAIN, "mq_send errno EAGAIN");
verify_queues_full( "Init:" );
empty_message_queues( "Init:" );
-
+#endif
/*
* Create a task then block until the task reads a message.
*/