


     execlp_L(LSB.os/procRelease 1.1 (UniSoftexeclp_L(LSB.os/procprim)



     NAME
	  LSB.os/procprim/execlp_L - execute a file test case

     DESCRIPTION
	  This test case tests the execlp() system call	interface for
	  conformance to parts of The Open Group's CAE Specification:
	  System Interfaces and	Headers, page:exec()

     TESTS
	  1    When a process has an alternate signal stack, then
	       after a successful call to execlp(), the	stack is not
	       preserved in the	new process image.

	  2    After a successful call to execlp(), the	SA_ONSTACK
	       flag is cleared for all signals.

	  3    When the	set-user-ID bit	of file	is set and file
	       resides on a file system	for which the ST_NOSUID	bit is
	       set, then after a successful call to execlp(file), the
	       effective user ID and saved set-user-ID in the new
	       process image are not changed.

	  4    When the	set-group-ID bit of file is set	and file
	       resides on a file system	for which the ST_NOSUID	bit is
	       set, then after a successful call to execlp(file), the
	       effective group ID and saved set-group-ID in the	new
	       process image are not changed.

	  5    When a process has a semadj value associated with a
	       semaphore, then after a successful call to execlp(),
	       the semadj value	is inherited by	the new	process	image.

	  6    When a process has a controlling	terminal, then after a
	       successful call to execlp(), the	controlling terminal
	       is inherited by the new process image.

	  7    After a successful call to execlp(), the	values of the
	       ITIMER_REAL, ITIMER_VIRTUAL and ITIMER_PROF interval
	       timers in the calling process are inherited by the new
	       process image.

	  8    When too	many symbolic links are	encountered while
	       resolving file, then a call to execlp(file) returns -1
	       with errno set to ELOOP.

     Untestable	aspects
	  1    After a successful call to execlp(), the	saved resource
	       limits in the new process image are set from those in
	       the calling process image.
	       Reason for omission: There is no	known reliable test
	       method for this assertion.




     Page 1					    (printed 2/21/103)






     execlp_L(LSB.os/procRelease 1.1 (UniSoftexeclp_L(LSB.os/procprim)



	  2    When file is a symbolic link and	the resolution of file
	       produces	an intermediate	result whose length exceeds
	       {PATH_MAX}, then	a call to execlp(file) returns -1 and
	       errno is	set to ENAMETOOLONG.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

     RELEASE
	  LSB-os 1.1 (00/11/23)














































     Page 2					    (printed 2/21/103)



