summaryrefslogtreecommitdiff
path: root/modules/acl-tests
blob: 36908b31102bd635b502f7166fafdb332a98ea7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Files:
tests/test-file-has-acl.sh
tests/test-file-has-acl-1.sh
tests/test-file-has-acl-2.sh
tests/test-set-mode-acl.sh
tests/test-set-mode-acl-1.sh
tests/test-set-mode-acl-2.sh
tests/test-copy-acl.sh
tests/test-copy-acl-1.sh
tests/test-copy-acl-2.sh
tests/test-file-has-acl.c
tests/test-set-mode-acl.c
tests/test-copy-acl.c
tests/test-sameacls.c
tests/macros.h

Depends-on:
progname
read-file
unistd
xalloc

configure.ac:
AC_CHECK_DECLS_ONCE([alarm])

Makefile.am:
TESTS += \
  test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh \
  test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh \
  test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh
TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
check_PROGRAMS += test-file-has-acl test-set-mode-acl test-copy-acl test-sameacls
test_file_has_acl_LDADD = $(LDADD) $(LIB_ACL)
test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
test_copy_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@