Changeset ff53a6d4 in rtems


Ignore:
Timestamp:
08/14/96 19:30:49 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ac81b6ca
Parents:
4e63ae5
Message:

added test case for pthread_attr_getscope being passed a NULL contentionscope

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/psxtests/psx07/init.c

    r4e63ae5 rff53a6d4  
    179179  assert( status == EINVAL );
    180180 
     181  puts( "Init: pthread_attr_getscope - EINVAL (NULL scope)" );
     182  status = pthread_attr_getscope( &attr, NULL );
     183  assert( status == EINVAL );
     184 
    181185  puts( "Init: pthread_attr_getscope - EINVAL (not initialized attr)" );
    182186  status = pthread_attr_getscope( &destroyed_attr, &scope );
  • testsuites/psxtests/psx07/init.c

    r4e63ae5 rff53a6d4  
    179179  assert( status == EINVAL );
    180180 
     181  puts( "Init: pthread_attr_getscope - EINVAL (NULL scope)" );
     182  status = pthread_attr_getscope( &attr, NULL );
     183  assert( status == EINVAL );
     184 
    181185  puts( "Init: pthread_attr_getscope - EINVAL (not initialized attr)" );
    182186  status = pthread_attr_getscope( &destroyed_attr, &scope );
Note: See TracChangeset for help on using the changeset viewer.