From fc8289d694095c8e5def3078a2557e122dcf459b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 16 Sep 2009 13:21:46 -0600 Subject: openat-tests: ensure unlinkat behaves like rmdir * tests/test-rmdir.c (main): Factor guts... * tests/test-rmdir.h (test_rmdir_func): ...into new file. * modules/rmdir-tests (Files): Ship new file. * modules/openat-tests: New test. * tests/test-unlinkat.c: Likewise. Signed-off-by: Eric Blake --- modules/openat-tests | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/openat-tests (limited to 'modules/openat-tests') diff --git a/modules/openat-tests b/modules/openat-tests new file mode 100644 index 0000000000..a82a4f33e8 --- /dev/null +++ b/modules/openat-tests @@ -0,0 +1,13 @@ +Files: +tests/test-rmdir.h +tests/test-unlinkat.c + +Depends-on: + +configure.ac: +AC_CHECK_FUNCS_ONCE([symlink]) + +Makefile.am: +TESTS += test-unlinkat +check_PROGRAMS += test-unlinkat +test_unlinkat_LDADD = $(LDADD) @LIBINTL@ -- cgit v1.2.1