Changeset aea66e87 in rtems


Ignore:
Timestamp:
12/28/09 16:42:08 (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
161f54b4
Parents:
44be50c
Message:

2009-12-28 Aanjhan Ranganathan <aanjhan@…>

  • bspcmdline01/init.c, bspcmdline01/bspcmdline01.scn: Added test case to cover the bsp_cmdline_get_param() routine.
Location:
testsuites/libtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r44be50c raea66e87  
     12009-12-28      Aanjhan Ranganathan <aanjhan@gmail.com>
     2
     3        * bspcmdline01/init.c, bspcmdline01/bspcmdline01.scn: Added test case
     4        to cover the bsp_cmdline_get_param() routine.
     5
    162009-12-21      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
    27
  • testsuites/libtests/bspcmdline01/bspcmdline01.scn

    r44be50c raea66e87  
    99rtems_bsp_cmdline_get_param - bsp_boot_cmdline=NULL - returns NULL
    1010rtems_bsp_cmdline_get_param_raw - bsp_boot_cmdline=NULL - returns NULL
     11rtems_bsp_cmdline_get_param - bsp_boot_cmdline = edit name = edit -no error
    1112
    1213Testing for param=(--arg)
  • testsuites/libtests/bspcmdline01/init.c

    r44be50c raea66e87  
    4747    "rtems_bsp_cmdline_get_param_raw - bsp_boot_cmdline=NULL - returns NULL" );
    4848  p = rtems_bsp_cmdline_get_param_raw( "name" );
     49  rtems_test_assert( p == NULL );
     50 
     51  bsp_boot_cmdline = "edit";
     52  puts ( "rtems_bsp_cmdline_get_param - bsp_boot_cmdline = edit name = edit -no error" );
     53  p = rtems_bsp_cmdline_get_param("edit", result, 5);
    4954  rtems_test_assert( p == NULL );
    5055}
Note: See TracChangeset for help on using the changeset viewer.