mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx04/init.c: Correct errors introduced by using different variable for return type when correcting typing warnings.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psx04/init.c: Correct errors introduced by using different variable
|
||||
for return type when correcting typing warnings.
|
||||
|
||||
2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am, configure.ac: Add new test to provide coverage analysis
|
||||
|
||||
@@ -257,13 +257,13 @@ void *POSIX_Init(
|
||||
|
||||
puts( "Init: Firing alarm in 2 seconds" );
|
||||
remaining = alarm( 2 );
|
||||
printf( "Init: %d seconds left on previous alarm\n", status );
|
||||
assert( status );
|
||||
printf( "Init: %d seconds left on previous alarm\n", remaining );
|
||||
assert( remaining == 5 );
|
||||
|
||||
puts( "Init: Wait 4 seconds for alarm" );
|
||||
remaining = sleep( 4 );
|
||||
printf( "Init: %d seconds left in sleep\n", status );
|
||||
assert( status );
|
||||
printf( "Init: %d seconds left in sleep\n", remaining );
|
||||
assert( remaining == 2 );
|
||||
|
||||
/* test SIG_SETMASK case and returning oset of pthread_sigmask */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user