Changeset 524767cb in rtems


Ignore:
Timestamp:
Oct 25, 1999, 2:10:38 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
48296038
Parents:
c774a07e
Message:

Removed reinitialize mutex test case to reflect earlier code change in
the executive.

Files:
2 edited

Legend:

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

    rc774a07e r524767cb  
    284284  assert( !status );
    285285
    286   puts( "Init: pthread_mutex_init - EBUSY (attempt to initialize an existing mutex)" );
     286  /*
     287   *  This is not required to be an error and when it is, there are
     288   *  behavioral conflicts with other implementations.
     289   */
     290  puts( "Init: pthread_mutex_init - EBUSY (reinitialize an existing mutex) - skipped" );
     291
     292#if 0
    287293  status = pthread_mutex_init( &Mutex_id, &attr );
    288294  if ( !status )
    289295    printf( "status = %d\n", status );
    290296  assert( status == EBUSY );
     297#endif
    291298
    292299  puts( "Init: pthread_mutex_trylock - EINVAL (illegal ID)" );
  • testsuites/psxtests/psx05/init.c

    rc774a07e r524767cb  
    284284  assert( !status );
    285285
    286   puts( "Init: pthread_mutex_init - EBUSY (attempt to initialize an existing mutex)" );
     286  /*
     287   *  This is not required to be an error and when it is, there are
     288   *  behavioral conflicts with other implementations.
     289   */
     290  puts( "Init: pthread_mutex_init - EBUSY (reinitialize an existing mutex) - skipped" );
     291
     292#if 0
    287293  status = pthread_mutex_init( &Mutex_id, &attr );
    288294  if ( !status )
    289295    printf( "status = %d\n", status );
    290296  assert( status == EBUSY );
     297#endif
    291298
    292299  puts( "Init: pthread_mutex_trylock - EINVAL (illegal ID)" );
Note: See TracChangeset for help on using the changeset viewer.