diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-03 20:08:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-03 20:08:22 +0000 |
commit | 4a105192af84bd728a95e892ec59347a7f99a5c0 (patch) | |
tree | 3c4eb9b2827170a5318a6844a4eb5607043a84a6 /testsuites/psxtests/psxenosys/init.c | |
parent | 2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-4a105192af84bd728a95e892ec59347a7f99a5c0.tar.bz2 |
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test of vfork stub.
Diffstat (limited to 'testsuites/psxtests/psxenosys/init.c')
-rw-r--r-- | testsuites/psxtests/psxenosys/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxenosys/init.c b/testsuites/psxtests/psxenosys/init.c index 6918e5316d..c20ac146e2 100644 --- a/testsuites/psxtests/psxenosys/init.c +++ b/testsuites/psxtests/psxenosys/init.c @@ -177,6 +177,13 @@ void *POSIX_Init( sc = mprotect( NULL, 0, 0 ); posix_service_failed( sc, "mprotect" ); + puts( "vfork -- stub implementation - OK" ); + sc = vfork(); + if ( sc != -1 ) { + puts( "vfork did not return -1" ); + rtems_test_exit( 0 ); + } + puts( "*** END OF POSIX TEST ENOSYS ***" ); rtems_test_exit( 0 ); |