added more error cases to complete testing of pthread_equal when

RTEMS_DEBUG is enabled.
This commit is contained in:
Joel Sherrill committed 1996-08-07 22:05:15 +00:00
1 parent 42418a9d3c
commit ecc912f466
2 files changed
+16

No files matched your search

+8
View File
@@ -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 );
+8
View File
@@ -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 );