diff options
Diffstat (limited to 'testsuites/psxtests/psxenosys')
-rw-r--r-- | testsuites/psxtests/psxenosys/init.c | 5 | ||||
-rw-r--r-- | testsuites/psxtests/psxenosys/psxenosys.scn | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxenosys/init.c b/testsuites/psxtests/psxenosys/init.c index 6a0ed24c22..8d95a2be1f 100644 --- a/testsuites/psxtests/psxenosys/init.c +++ b/testsuites/psxtests/psxenosys/init.c @@ -11,6 +11,7 @@ #define CONFIGURE_INIT #include "system.h" +#include "tmacros.h" #include <aio.h> #include <sys/types.h> @@ -170,6 +171,10 @@ void *POSIX_Init( sc = waitpid( 0, NULL, 0 ); check_enosys( sc ); + puts( "mprotect -- stub implementation - OK" ); + sc = mprotect( NULL, 0, 0 ); + posix_service_failed( sc, "mprotect" ); + puts( "*** END OF POSIX TEST ENOSYS ***" ); rtems_test_exit( 0 ); diff --git a/testsuites/psxtests/psxenosys/psxenosys.scn b/testsuites/psxtests/psxenosys/psxenosys.scn index 1c9b8b17eb..4225c3e202 100644 --- a/testsuites/psxtests/psxenosys/psxenosys.scn +++ b/testsuites/psxtests/psxenosys/psxenosys.scn @@ -29,4 +29,5 @@ sched_setscheduler -- ENOSYS sched_getscheduler -- ENOSYS wait -- ENOSYS waitpid -- ENOSYS +mprotect -- stub implementation - OK *** END OF POSIX TEST ENOSYS *** |