summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx04
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx04')
-rw-r--r--testsuites/psxtests/psx04/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c
index 54c7b5bb05..e09f298101 100644
--- a/testsuites/psxtests/psx04/init.c
+++ b/testsuites/psxtests/psx04/init.c
@@ -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 */