Changeset 7e230f10 in rtems


Ignore:
Timestamp:
Sep 5, 1996, 8:31:32 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
297be5c
Parents:
9a5cbef0
Message:

added printf of status when not successful

Files:
2 edited

Legend:

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

    r9a5cbef0 r7e230f10  
    3030  printf( "Task 2: pthread_mutex_lock unavailable (inherit case)\n" );
    3131  status = pthread_mutex_lock( &Mutex2_id );
     32  if ( status )
     33    printf( "status =%d\n", status );
     34  assert( !status );
    3235  printf( "Task 2: mutex acquired\n" );
    33   assert( !status );
    3436
    3537     /* switch to init */
  • testsuites/psxtests/psx05/task2.c

    r9a5cbef0 r7e230f10  
    3030  printf( "Task 2: pthread_mutex_lock unavailable (inherit case)\n" );
    3131  status = pthread_mutex_lock( &Mutex2_id );
     32  if ( status )
     33    printf( "status =%d\n", status );
     34  assert( !status );
    3235  printf( "Task 2: mutex acquired\n" );
    33   assert( !status );
    3436
    3537     /* switch to init */
Note: See TracChangeset for help on using the changeset viewer.