


     openlog_L(LSB.os/genRelease 1.1 (UniSoft openlog_L(LSB.os/genuts)



     NAME
	  LSB.os/genuts/openlog_L - control system log test case

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

     TESTS
	  1    A call to openlog(ident,	logopt,	facility) causes each
	       message that is generated by a subsequent call to
	       syslog()	to have	ident prepended	to it.

	  2    When LOG_PID is set in logopt, then a call to
	       openlog(ident, logopt, facility)	causes each message
	       that is generated by a subsequent call to syslog() to
	       include the process ID of the calling process.

	  3    A call to openlog(ident,	logopt,	facility) causes each
	       message generated by a subsequent call to syslog() in
	       which no	facility value is specified to be logged with
	       the specified facility value.

     Untestable	aspects
	  1    When LOG_CONS is	set in logopt, then a call to
	       openlog(ident, logopt, facility)	causes each message
	       generated by a subsequent call to syslog() which	cannot
	       be sent to the logging facility to be written on	the
	       system console.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

	  2    When LOG_NDELAY is set in logopt, then a	call to
	       openlog(ident, logopt, facility)	opens the connection
	       to the logging facility.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

	  3    When LOG_NDELAY is not set in logopt, then a call to
	       openlog(ident, logopt, facility)	does not open the
	       connection to the logging facility.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

	  4    When LOG_ODELAY is set in logopt, then a	call to
	       openlog(ident, logopt, facility)	does not open the
	       connection to the logging facility.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

	  5    When LOG_NOWAIT is set in logopt, then a	call to
	       openlog(ident, logopt, facility)	causes a subsequent



     Page 1					    (printed 2/21/103)






     openlog_L(LSB.os/genRelease 1.1 (UniSoft openlog_L(LSB.os/genuts)



	       call to syslog()	in which a child process is created to
	       return without waiting for the child to exit.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

     Grey areas
	  1    The specification does not say what is supposed to
	       happen when openlog(ident, logopt, facility) is called
	       with both LOG_NDELAY and	LOG_ODELAY set in logopt.

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











































     Page 2					    (printed 2/21/103)



