tests: readlink* ("",... fails with EINVAL on newer kernels
authorJim Meyering <meyering@redhat.com>
Wed, 30 Mar 2011 06:46:22 +0000 (08:46 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 30 Mar 2011 06:46:22 +0000 (08:46 +0200)
commitdc44690985e727ac2ef5af783a495a369223ab69
tree4c61cffa878023ef01a7ac46655b4ccfa2f50660
parent0e91303ba89db46958de61bcc0e9680188b00377
tests: readlink* ("",... fails with EINVAL on newer kernels

readlink and readlinkat have typically failed with ENOENT for
the invalid, empty file name,  "".  However, with the advent
of linux-2.6.39, they fail with EINVAL.
* tests/test-areadlink.h (test_areadlink): Also accept EINVAL
when operating on the empty file name.
* tests/test-readlink.h (test_readlink): Likewise.
ChangeLog
tests/test-areadlink.h
tests/test-readlink.h