diff options
author | Bruno Haible <bruno@clisp.org> | 2011-09-05 11:23:55 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-09-05 11:23:55 +0200 |
commit | 977389d936eb39475d8540651074ab48fcfd85a1 (patch) | |
tree | e0363f6f9186c62d7b525bca663298db61e55fa9 /tests/test-file-has-acl-1.sh | |
parent | 5b89c4d735274de30f40daaad3b4ba1bd1d2d82b (diff) | |
download | gnulib-977389d936eb39475d8540651074ab48fcfd85a1.tar.gz |
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.
Diffstat (limited to 'tests/test-file-has-acl-1.sh')
-rwxr-xr-x | tests/test-file-has-acl-1.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test-file-has-acl-1.sh b/tests/test-file-has-acl-1.sh new file mode 100755 index 0000000000..e3ad9c0e8c --- /dev/null +++ b/tests/test-file-has-acl-1.sh @@ -0,0 +1,13 @@ +#!/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" |