Mercurial > gnulib
annotate tests/test-file-has-acl-2.sh @ 40246:c34f677e6117 default tip master
_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode
* lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before
GCC 4.8.
author | Akim Demaille <akim.demaille@gmail.com> |
---|---|
date | Sun, 17 Mar 2019 19:27:20 +0100 |
parents | 066c585853e5 |
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 the build directory, which may be |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 # a local file system or NFS mounted. |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 |
40156
066c585853e5
tests: Accommodate a shell that is not in /bin/sh.
Bruno Haible <bruno@clisp.org>
parents:
15568
diff
changeset
|
6 . "${srcdir=.}/init.sh"; path_prepend_ . |
066c585853e5
tests: Accommodate a shell that is not in /bin/sh.
Bruno Haible <bruno@clisp.org>
parents:
15568
diff
changeset
|
7 |
15568
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 TMPDIR=`pwd` |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 export TMPDIR |
3acf9fb3aa69
acl: Try unit tests on more file systems.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 |
40156
066c585853e5
tests: Accommodate a shell that is not in /bin/sh.
Bruno Haible <bruno@clisp.org>
parents:
15568
diff
changeset
|
11 $BOURNE_SHELL "${srcdir}/test-file-has-acl.sh" |
066c585853e5
tests: Accommodate a shell that is not in /bin/sh.
Bruno Haible <bruno@clisp.org>
parents:
15568
diff
changeset
|
12 |
066c585853e5
tests: Accommodate a shell that is not in /bin/sh.
Bruno Haible <bruno@clisp.org>
parents:
15568
diff
changeset
|
13 Exit $? |