Changeset 105530fe in rtems


Ignore:
Timestamp:
Sep 20, 2009, 5:03:18 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
0e2caa4
Parents:
679e45d
Message:

2009-09-20 Joel Sherrill <joel.sherrill@…>

  • psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add test for getpagesize().
Location:
testsuites/psxtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r679e45d r105530fe  
     12009-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add test for
     4        getpagesize().
     5
    162009-09-13      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • testsuites/psxtests/psxsysconf/init.c

    r679e45d r105530fe  
    5454   rtems_test_exit(0);
    5555
     56  sc = getpagesize();
     57  printf( "getpagesize = %d\n", sc );
     58  if ( sc == -1 )
     59   rtems_test_exit(0);
     60
    5661  sc = sysconf( 0x12345678 );
    5762  printf( "sysconf - bad parameter = %d errno=%s\n", sc, strerror(errno) );
  • testsuites/psxtests/psxsysconf/psxsysconf.scn

    r679e45d r105530fe  
    66sysconf - _SC_GETPW_R_SIZE_MAX=1024
    77sysconf - _SC_PAGESIZE=4096
     8getpagesize = 4096
    89sysconf - bad parameter = -1 errno=Invalid argument
    910sysconf - (SPARC only) _SC_STACK_PROT=4096
Note: See TracChangeset for help on using the changeset viewer.