summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsysconf/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-20 17:03:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-20 17:03:18 +0000
commit105530fe5dd328b5ad653b39d1b7e9def2a09916 (patch)
treecca8232d18cf180a9846cf315f6ce85c5c95eed7 /testsuites/psxtests/psxsysconf/init.c
parentHousekeeping. (diff)
downloadrtems-105530fe5dd328b5ad653b39d1b7e9def2a09916.tar.bz2
2009-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add test for getpagesize().
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxsysconf/init.c5
1 files changed, 5 insertions, 0 deletions
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) )