diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psx01/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c index 4aa3cb7d81..5a7547e0b8 100644 --- a/testsuites/psxtests/psx01/init.c +++ b/testsuites/psxtests/psx01/init.c @@ -142,7 +142,8 @@ void *POSIX_Init( tv.tv_nsec = 0; puts( "Init: nanosleep - negative seconds small delay " ); status = nanosleep ( &tv, &tr ); - assert( !status ); + assert( status == -1 ); + assert( errno == EINVAL ); /* use nanosleep to yield */ |