Changeset 447345b in rtems


Ignore:
Timestamp:
Jul 6, 2010, 10:56:48 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
6091bc3a
Parents:
66e5e144
Message:

2010-07-06 Joel Sherrill <joel.sherrilL@…>

  • sp21/init.c, sp21/sp21.scn: Tidy up with one last case to get 100% coverage of rtems_io_lookup_name().
Location:
testsuites/sptests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r66e5e144 r447345b  
     12010-07-06      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * sp21/init.c, sp21/sp21.scn: Tidy up with one last case to get 100%
     4        coverage of rtems_io_lookup_name().
     5
    162010-07-06      Joel Sherrill <joel.sherrilL@OARcorp.com>
    27
  • testsuites/sptests/sp21/init.c

    r66e5e144 r447345b  
    188188  rtems_driver_name_t  info;
    189189
    190   puts( "rtems_io_lookup_name( \"\", &info )" );
     190  puts( "rtems_io_lookup_name( \"\", &info ) - RTEMS_UNSATISFIED" );
    191191  sc = rtems_io_lookup_name( "", &info );
    192192  fatal_directive_status( sc, RTEMS_UNSATISFIED, "lookup empty string" );
    193193 
    194   puts( "rtems_io_lookup_name( \"/dev/null\", &info )" );
     194  puts( "rtems_io_lookup_name( \"/dev\", &info ) - RTEMS_UNSATISFIED" );
     195  sc = rtems_io_lookup_name( "/dev", &info );
     196  fatal_directive_status( sc, RTEMS_UNSATISFIED, "lookup empty string" );
     197
     198  puts( "rtems_io_lookup_name( \"/dev/null\", &info ) - RTEMS_SUCCESSFUL" );
    195199  sc = rtems_io_lookup_name( "/dev/null", &info );
    196200  directive_failed( sc, "lookup /dev/null" );
  • testsuites/sptests/sp21/sp21.scn

    r66e5e144 r447345b  
    2626rtems_io_register_driver - RTEMS_RESOURCE_IN_USE - major in use
    2727rtems_io_unregister_driver - RTEMS_SUCCESSFUL
    28 rtems_io_lookup_name( "", &info )
    29 rtems_io_lookup_name( "/dev/null", &info )
     28rtems_io_lookup_name( "", &info ) - RTEMS_UNSATISFIED
     29rtems_io_lookup_name( "/dev", &info ) - RTEMS_UNSATISFIED
     30rtems_io_lookup_name( "/dev/null", &info ) - RTEMS_SUCCESSFUL
    3031*** END OF TEST 21 ***
Note: See TracChangeset for help on using the changeset viewer.