summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx01')
-rw-r--r--testsuites/psxtests/psx01/task.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx01/task.c b/testsuites/psxtests/psx01/task.c
index 61095cf119..4ff3d8e450 100644
--- a/testsuites/psxtests/psx01/task.c
+++ b/testsuites/psxtests/psx01/task.c
@@ -44,6 +44,14 @@ void *Task_1_through_3(
puts( "pthread_equal different case passed" );
assert( !status );
+ puts( "pthread_equal first id bad" );
+ status = pthread_equal( -1, Task_id );
+ assert( status == 0);
+
+ puts( "pthread_equal second id bad" );
+ status = pthread_equal( Init_id, -1 );
+ assert( status == 0);
+
puts( "*** END OF POSIX TEST 1 ***" );
exit( 0 );