Hash :
f0c406c2
Author :
Date :
2018-12-20T03:11:34
lchown tests: Be more permissive regarding errno values. Reported by Ivan Zakharyaschev <imz@altlinux.org>. * tests/test-lchown.h (test_lchown): Recognize EOPNOTSUPP as an alternative to ENOSYS. * modules/lchown-tests (Depends-on): Add 'errno'. * modules/fchownat-tests (Depends-on): Likewise.
Files:
tests/nap.h
tests/test-lchown.h
tests/test-lchown.c
tests/signature.h
tests/macros.h
Depends-on:
errno
ignore-value
intprops
mgetgroups
nanosleep
stat-time
stdbool
symlink
configure.ac:
AC_CHECK_FUNCS_ONCE([getegid])
Makefile.am:
TESTS += test-lchown
check_PROGRAMS += test-lchown
test_lchown_LDADD = $(LDADD) $(LIB_NANOSLEEP)