diff options
Diffstat (limited to 'testsuites/psxtests/psxenosys/init.c')
-rw-r--r-- | testsuites/psxtests/psxenosys/init.c | 5 |
1 files changed, 5 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 ); |