Mercurial > hg > octave-kai > gnulib-hg
annotate tests/test-file-has-acl-1.sh @ 15568:3acf9fb3aa69
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 05 Sep 2011 11:23:55 +0200 |
parents | |
children |
rev | line source |
---|---|
15568
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 #!/bin/sh |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 # Test file-has-acl on the file system of /var/tmp, which usually is a local |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 # file system. |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 if test -d /var/tmp; then |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 TMPDIR=/var/tmp |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 else |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 TMPDIR=/tmp |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 fi |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 export TMPDIR |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 exec "${srcdir}/test-file-has-acl.sh" |