diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psxmsgq02/init.c | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psxmsgq02/psxmsgq02.scn | 3 |
3 files changed, 9 insertions, 4 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index c6f92a0ad9..4e95e42c8e 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,9 @@ +2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> + + * psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue + with create option so we are sure it will get a control block and + proceed to allocate other memory. Clean up screen output. + 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> * psx05/init.c: Add parameter to call to sched_get_priority_max(). diff --git a/testsuites/psxtests/psxmsgq02/init.c b/testsuites/psxtests/psxmsgq02/init.c index 32bb6bcc47..5c7b88b98f 100644 --- a/testsuites/psxtests/psxmsgq02/init.c +++ b/testsuites/psxtests/psxmsgq02/init.c @@ -54,8 +54,8 @@ void *POSIX_Init( attr.mq_maxmsg = MAXMSG; attr.mq_msgsize = MSGSIZE; - puts("Init: ENOMEM (Workspace not available)"); - mq = mq_open( Get_Longest_Name(), O_WRONLY, 0x777, &attr ); + puts("Init: mq_open - Workspace not available - ENOMEM"); + mq = mq_open( Get_Longest_Name(), O_CREAT, 0x777, &attr ); fatal_posix_service_status_errno( mq, ENOMEM, "no workspace available" ); puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" ); diff --git a/testsuites/psxtests/psxmsgq02/psxmsgq02.scn b/testsuites/psxtests/psxmsgq02/psxmsgq02.scn index a7874927b6..6f118cd10f 100644 --- a/testsuites/psxtests/psxmsgq02/psxmsgq02.scn +++ b/testsuites/psxtests/psxmsgq02/psxmsgq02.scn @@ -1,5 +1,4 @@ *** POSIX MESSAGE QUEUE 02 TEST *** Init's ID is 0x0b010001 -Allocate_majority_of_workspace: -Init: ENOMEM (Workspace not available) +Init: mq_open - Workspace not available - ENOMEM *** END POSIX MESSAGE QUEUE 02 TEST *** |