mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 11:27:42 +08:00
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test of vfork stub.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test of vfork stub.
|
||||
|
||||
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* psx04/init.c, psx04/psx04.scn: Test error cases in sigwait() and
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
@@ -30,4 +30,5 @@ sched_getscheduler -- ENOSYS
|
||||
wait -- ENOSYS
|
||||
waitpid -- ENOSYS
|
||||
mprotect -- stub implementation - OK
|
||||
vfork -- stub implementation - OK
|
||||
*** END OF POSIX TEST ENOSYS ***
|
||||
|
||||
Reference in New Issue
Block a user