XFAIL_TESTS = \
	test/nfs/nfsacl.test \
	test/nfs/nfs-dir.test
TESTS = \
	test/cp.test \
	test/getfacl-lfs.test \
	test/getfacl-noacl.test \
	test/getfacl-recursive.test \
	test/malformed-restore.test \
	test/misc.test \
	test/sbits-restore.test \
	test/setfacl-X.test \
	test/utf8-filenames.test \
	test/root/getfacl.test \
	test/root/permissions.test \
	test/root/restore.test \
	test/root/setfacl.test \
	$(XFAIL_TESTS)

EXTRA_DIST += \
	test/make-tree \
	test/malformed-restore-double-owner.acl \
	test/run \
	test/runwrapper \
	test/sort-getfacl-output \
	test/test.passwd \
	test/test.group \
	$(TESTS)

check_LTLIBRARIES = libtestlookup.la

libtestlookup_la_SOURCES = test/test_passwd.c test/test_group.c
libtestlookup_la_CFLAGS = -DBASEDIR=\"/tmp/acl-ptest\"
libtestlookup_la_LDFLAGS = -rpath $(abs_builddir)

# Make sure translations don't break tests when matching output.
AM_TESTS_ENVIRONMENT = PATH="$(abs_top_builddir):$$PATH"; export LC_MESSAGES=C;
TEST_LOG_COMPILER = $(srcdir)/test/runwrapper
