Changeset d539f2b in rtems


Ignore:
Timestamp:
Aug 10, 2010, 10:31:49 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
7299818
Parents:
6e7ee0bd
Message:

2010-08-10 Bharath Suri <bharath.s.jois@…>

PR 1661/testing

  • termios01/init.c, termios01/termios01.scn: Added a test case to hit a case in rtems_termios_read.
Location:
testsuites/libtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r6e7ee0bd rd539f2b  
     12010-08-10      Bharath Suri <bharath.s.jois@gmail.com>
     2
     3        PR 1661/testing
     4        * termios01/init.c, termios01/termios01.scn: Added a test case to
     5        hit a case in rtems_termios_read.
     6
    172010-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/libtests/termios01/init.c

    r6e7ee0bd rd539f2b  
    463463  int                       test;
    464464  struct termios            t;
     465  int index = 0;
    465466
    466467  puts( "\n\n*** TEST TERMIOS 01 ***" );
     
    592593  }
    593594
    594   /*
    595   TODO: This must be enabled, but is facing a strange problem
    596   where the code dies off at rtems_termios_open.
    597   */
    598 
    599   /*
     595
    600596  puts( "Multiple open of the device" );
    601597  for( ; index < 26; ++index ) {
    602     printf( "...%d ", index );
    603598    test = open( TERMIOS_TEST_DRIVER_DEVICE_NAME, O_RDWR );
    604599    rtems_test_assert( test != -1 );
     
    607602  }
    608603  puts( "" );
    609   */
     604
    610605  puts( "*** END OF TEST TERMIOS 01 ***" );
    611606  rtems_test_exit(0);
  • testsuites/libtests/termios01/termios01.scn

    r6e7ee0bd rd539f2b  
    303303cfgetispeed(B460800) - OK
    304304Init - close - /dev/test - OK
     305Multiple open of the device
     306Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     307Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     308Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     309Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     310Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     311Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     312Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     313Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     314Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     315Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     316Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     317Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     318Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     319Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     320Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     321Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     322Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     323Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     324Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     325Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     326Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     327Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     328Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     329Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     330Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     331Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     332Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     333Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     334Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     335Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     336Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     337Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     338Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     339Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     340Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     341Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     342Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     343Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     344Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     345Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     346Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     347Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     348Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     349Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     350Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     351Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     352Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     353Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     354Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     355Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     356Termios_test_driver - rtems_set_initial_baud - bad baud - OK
     357Termios_test_driver - rtems_set_initial_baud - 38400 - OK
     358
    305359*** END OF TEST TERMIOS 01 ***
Note: See TracChangeset for help on using the changeset viewer.