Changeset ecc912f4 in rtems


Ignore:
Timestamp:
Aug 7, 1996, 10:05:15 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2014063
Parents:
42418a9
Message:

added more error cases to complete testing of pthread_equal when
RTEMS_DEBUG is enabled.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx01/task.c

    r42418a9 recc912f4  
    4545  assert( !status );
    4646
     47  puts( "pthread_equal first id bad" );
     48  status = pthread_equal( -1, Task_id );
     49  assert( status == 0);
     50
     51  puts( "pthread_equal second id bad" );
     52  status = pthread_equal( Init_id, -1 );
     53  assert( status == 0);
     54
    4755  puts( "*** END OF POSIX TEST 1 ***" );
    4856  exit( 0 );
  • testsuites/psxtests/psx01/task.c

    r42418a9 recc912f4  
    4545  assert( !status );
    4646
     47  puts( "pthread_equal first id bad" );
     48  status = pthread_equal( -1, Task_id );
     49  assert( status == 0);
     50
     51  puts( "pthread_equal second id bad" );
     52  status = pthread_equal( Init_id, -1 );
     53  assert( status == 0);
     54
    4755  puts( "*** END OF POSIX TEST 1 ***" );
    4856  exit( 0 );
Note: See TracChangeset for help on using the changeset viewer.