Commit 977389d9 authored by Bruno Haible's avatar Bruno Haible

acl: Try unit tests on more file systems.

* tests/test-file-has-acl-1.sh: New file.
* tests/test-file-has-acl-2.sh: New file.
* tests/test-set-mode-acl-1.sh: New file.
* tests/test-set-mode-acl-2.sh: New file.
* tests/test-copy-acl-1.sh: New file.
* tests/test-copy-acl-2.sh: New file.
* modules/acl-tests (Files): Add them.
(Makefile.am): Add them to TESTS.
parent 5b89c4d7
2011-09-05 Bruno Haible <bruno@clisp.org>
acl: Try unit tests on more file systems.
* tests/test-file-has-acl-1.sh: New file.
* tests/test-file-has-acl-2.sh: New file.
* tests/test-set-mode-acl-1.sh: New file.
* tests/test-set-mode-acl-2.sh: New file.
* tests/test-copy-acl-1.sh: New file.
* tests/test-copy-acl-2.sh: New file.
* modules/acl-tests (Files): Add them.
(Makefile.am): Add them to TESTS.
2011-09-04 Bruno Haible <bruno@clisp.org>
acl: Improve support of NFSv4 ACLs on Solaris 10 (newer version).
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
......@@ -18,7 +24,10 @@ configure.ac:
AC_CHECK_DECLS_ONCE([alarm])
Makefile.am:
TESTS += test-file-has-acl.sh test-set-mode-acl.sh test-copy-acl.sh
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)
......
#!/bin/sh
# Test copy-acl on the file system of /var/tmp, which usually is a local
# file system.
if test -d /var/tmp; then
TMPDIR=/var/tmp
else
TMPDIR=/tmp
fi
export TMPDIR
exec "${srcdir}/test-copy-acl.sh"
#!/bin/sh
# Test copy-acl on the file system of the build directory, which may be
# a local file system or NFS mounted.
TMPDIR=`pwd`
export TMPDIR
exec "${srcdir}/test-copy-acl.sh"
#!/bin/sh
# Test file-has-acl on the file system of /var/tmp, which usually is a local
# file system.
if test -d /var/tmp; then
TMPDIR=/var/tmp
else
TMPDIR=/tmp
fi
export TMPDIR
exec "${srcdir}/test-file-has-acl.sh"
#!/bin/sh
# Test file-has-acl on the file system of the build directory, which may be
# a local file system or NFS mounted.
TMPDIR=`pwd`
export TMPDIR
exec "${srcdir}/test-file-has-acl.sh"
#!/bin/sh
# Test set-mode-acl on the file system of /var/tmp, which usually is a local
# file system.
if test -d /var/tmp; then
TMPDIR=/var/tmp
else
TMPDIR=/tmp
fi
export TMPDIR
exec "${srcdir}/test-set-mode-acl.sh"
#!/bin/sh
# Test set-mode-acl on the file system of the build directory, which may be
# a local file system or NFS mounted.
TMPDIR=`pwd`
export TMPDIR
exec "${srcdir}/test-set-mode-acl.sh"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment