2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>

* psxmsgq02/init.c, psxsignal01/init.c: Corrent end of test messages.
This commit is contained in:
Joel Sherrill
2008-02-22 19:34:14 +00:00
parent dc1c4308d6
commit 3f4dce3152
3 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq02/init.c, psxsignal01/init.c: Corrent end of test messages.
2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxkey01/task.c: Fix warnings. * psxkey01/task.c: Fix warnings.

View File

@@ -58,7 +58,7 @@ void *POSIX_Init(
mq = mq_open( Get_Longest_Name(), O_WRONLY, 0x777, &attr ); mq = mq_open( Get_Longest_Name(), O_WRONLY, 0x777, &attr );
fatal_posix_service_status_errno( mq, ENOMEM, "no workspace available" ); fatal_posix_service_status_errno( mq, ENOMEM, "no workspace available" );
puts( "*** END POSIX MESSAGE QUEUE 02 TEST ***" ); puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" );
rtems_test_exit( 0 ); rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */ return NULL; /* just so the compiler thinks we returned something */

View File

@@ -221,11 +221,11 @@ void *POSIX_Init(
Signal_occurred = 0; Signal_occurred = 0;
puts("*** Validate unexpected program termination ***"); puts("*** Validate unexpected program termination ***");
puts( "*** END OF POSIX TEST SIGNAL ***" );
_POSIX_signals_Abnormal_termination_handler( SIGUSR1 ); _POSIX_signals_Abnormal_termination_handler( SIGUSR1 );
status = sleep( 1 ); status = sleep( 1 );
puts( "ERROR==> Expected program termination"); puts( "ERROR==> Expected program termination");
puts( "*** END OF POSIX TEST SIGNAL ***" );
rtems_test_exit(0); rtems_test_exit(0);
return NULL; /* just so the compiler thinks we returned something */ return NULL; /* just so the compiler thinks we returned something */
} }