


     nftw_L(LSB.os/genutsRelease 1.1 (UniSoft Ltdnftw_L(LSB.os/genuts)



     NAME
	  LSB.os/genuts/nftw_L - walk a	file tree test case

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

     TESTS
	  1    On a call to nftw(path, fn, depth, flags) the pathname
	       path is resolved	in accordance with the requirements
	       for pathname resolution.

	  2    On a call to nftw(path, fn, depth, flags) the filename
	       path supports portable filenames.

	  3    A call to nftw(path, fn,	depth, flags) uses at most one
	       file descriptor for each	directory level	traversed.

	  4    When search permission is denied	for any	component of
	       path, then a call to nftw(path, fn, depth, flags)
	       returns -1 with errno set to EACCES.

	  5    When read permission is denied for path,	then a call to
	       nftw(path, fn, depth, flags) returns -1 with errno set
	       to EACCES.

	  6    When too	many symbolic links are	encountered when
	       resolving path, then a call to
	       nftw(path, fn, depth, flags) returns -1 with errno set
	       to ELOOP.

     Untestable	aspects
	  1    When {OPEN_MAX} file descriptors	are currently open in
	       the calling process, then a call	to
	       nftw(path, fn, depth, flags) returns -1 with errno set
	       to EMFILE.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

	  2    When no more file descriptors can be opened in the
	       system, then a call to nftw(path, fn, depth, flags)
	       returns -1 with errno set to ENFILE.
	       Reason for omission: There is no	known portable test
	       method for this assertion.

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



     Page 1					    (printed 2/21/103)






     nftw_L(LSB.os/genutsRelease 1.1 (UniSoft Ltdnftw_L(LSB.os/genuts)



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





















































     Page 2					    (printed 2/21/103)



