Changeset 760076d7 in rtems


Ignore:
Timestamp:
May 15, 2009, 4:01:15 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
9bced10
Parents:
f23a263
Message:

2009-05-15 Joel Sherrill <joel.sherrill@…>

  • psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add missing error test case to improve coverage analysis.
Location:
testsuites/psxtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    rf23a263 r760076d7  
     12009-05-15      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add missing error test
     4        case to improve coverage analysis.
     5
    162009-05-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • testsuites/psxtests/psxsysconf/init.c

    rf23a263 r760076d7  
    5454   rtems_test_exit(0);
    5555
     56  sc = sysconf( 0x12345678 );
     57  printf( "sysconf - bad parameter = %d errno=%s\n", sc, strerror(errno) );
     58  if ( (sc != -1) || (errno != EINVAL) )
     59   rtems_test_exit(0);
     60
    5661#if defined(__sparc__)
    5762  /* Solaris _SC_STACK_PROT - 515 */
  • testsuites/psxtests/psxsysconf/psxsysconf.scn

    rf23a263 r760076d7  
    66sysconf - _SC_GETPW_R_SIZE_MAX=1024
    77sysconf - _SC_PAGESIZE=4096
     8sysconf - bad parameter = -1 errno=Invalid argument
    89sysconf - (SPARC only) _SC_STACK_PROT=4096
    910*** END OF POSIX TEST SYSCONF ***
Note: See TracChangeset for help on using the changeset viewer.