Changeset a263ce5c in rtems


Ignore:
Timestamp:
Aug 10, 2010, 2:45:22 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
d9c60fdd
Parents:
b50cde42
Message:

2010-08-10 Joel Sherrill <joel.sherrill@…>

PR 1664/testing

  • termios01/init.c: Use INT_MAX instead of hard-coded number for error case to avoid warning on 16-bit targets.
Location:
testsuites/libtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    rb50cde42 ra263ce5c  
     12010-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        PR 1664/testing
     4        * termios01/init.c: Use INT_MAX instead of hard-coded number for error
     5        case to avoid warning on 16-bit targets.
     6
    172010-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/libtests/termios01/init.c

    rb50cde42 ra263ce5c  
    498498   */
    499499  puts( "tcsetattr - invalid operation - ENOTSUP" );
    500   rc = tcsetattr( test, 0x12345, &t );
     500  rc = tcsetattr( test, INT_MAX, &t );
    501501  rtems_test_assert( rc == -1 );
    502502  rtems_test_assert( errno == ENOTSUP );
Note: See TracChangeset for help on using the changeset viewer.