


     makeRelease(Copyrightu1990	UniSoft	Corp.makecontext(GABI.os/jump)



     NAME
	  GABI.os/jump/makecontext - make current user context.

     DESCRIPTION
	  Makecontext tests the	makecontext() subroutine call
	  interface for	conformance to the SVID3 definition.
	  Page:makecontext(BA_LIB)

     TESTS
     Compliance
	  ALL TESTS IN THIS TEST SET APPLY TO SVR4.2 ONLY.

	  1    A successful call to makecontext(ucp, func, argc, ...)
	       modifies	the user context specified by ucp, which was
	       initialized by a	call to	getcontext() and returns 0.

	  2    When the	context	ucp, returned from a call to
	       makecontext(ucp,	func, argc, ...) is passed to
	       setcontext() as an argument, then program execution
	       continues by calling func, passing it the arguments
	       that follow argc.

	  3    When the	context	ucp, modified by a call	to
	       makecontext(ucp,	func, argc, ...) returns, execution
	       resumes at the point specified by the context structure
	       pointed to by ucp->uc_link.

     Untestable	Aspects
	  1    ENOMEM in errno and a return value of -1	after a	call
	       to swapcontext(oucp, ucp) when ucp does not have	enough
	       stack left to complete the operation.

     OUTPUTS
     Tests:
	  1-3  Pass/Fail indication only.

     PROBLEMS
	  It is	unclear	from the definition in SVID3 what happens to
	  the resumed context when the uc_link structure member	is not
	  initialized.

     RELEASE
	  1.1 (05/13/93)












     Page 1					    (printed 2/21/103)



