From 105530fe5dd328b5ad653b39d1b7e9def2a09916 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 20 Sep 2009 17:03:18 +0000 Subject: 2009-09-20 Joel Sherrill * psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add test for getpagesize(). --- testsuites/psxtests/psxsysconf/init.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testsuites/psxtests/psxsysconf/init.c') diff --git a/testsuites/psxtests/psxsysconf/init.c b/testsuites/psxtests/psxsysconf/init.c index 615a9470ac..1f03ca490b 100644 --- a/testsuites/psxtests/psxsysconf/init.c +++ b/testsuites/psxtests/psxsysconf/init.c @@ -53,6 +53,11 @@ void *POSIX_Init( if ( sc == -1 ) rtems_test_exit(0); + sc = getpagesize(); + printf( "getpagesize = %d\n", sc ); + if ( sc == -1 ) + rtems_test_exit(0); + sc = sysconf( 0x12345678 ); printf( "sysconf - bad parameter = %d errno=%s\n", sc, strerror(errno) ); if ( (sc != -1) || (errno != EINVAL) ) -- cgit v1.2.3