Changeset 3cefd8f in rtems


Ignore:
Timestamp:
May 6, 2011, 5:29:29 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
abd29cb9
Parents:
c423932
Message:

2011-05-06 Joel Sherrill <joel.sherrill@…>

  • psxfile01/test.c, psxmsgq01/init.c, psxreaddir/test.c: Fix tests broken in warning pass.
Location:
testsuites/psxtests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    rc423932 r3cefd8f  
     12011-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * psxfile01/test.c, psxmsgq01/init.c, psxreaddir/test.c: Fix tests
     4        broken in warning pass.
     5
    162011-05-05      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • testsuites/psxtests/psxfile01/test.c

    rc423932 r3cefd8f  
    657657  rtems_test_assert( status == -1);
    658658
    659   rtems_status = rtems_io_register_name( "/dev/console", 0, 0 );
     659  rtems_status = rtems_io_register_name( "/dev/not_console", 0, 0 );
    660660  directive_failed( rtems_status, "io register" );
    661661
  • testsuites/psxtests/psxmsgq01/init.c

    rc423932 r3cefd8f  
    11941194  struct timezone tz1, tz2;
    11951195  int              len;
    1196   int              status;
    11971196  char            *msg;
    11981197
     
    12051204  timeout.tv_nsec = tv1.tv_usec * 1000;
    12061205
    1207   status = mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
    1208   rtems_test_assert( status == 0 );
     1206  (void) mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
    12091207
    12101208  gettimeofday( &tv2, &tz2 );
  • testsuites/psxtests/psxreaddir/test.c

    rc423932 r3cefd8f  
    8383  printdir( the_dir );
    8484  status = closedir( the_dir );
    85   rtems_test_assert( status );
     85  rtems_test_assert( !status );
    8686}
    8787
Note: See TracChangeset for help on using the changeset viewer.