diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-04-28 23:18:45 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-04-28 23:19:04 +0200 |
commit | d3303684e6f05d550b4bec305b6a8650bb0ebfb9 (patch) | |
tree | 67a430495342c43298ad489d9d11d9d00301d87b /t | |
parent | 807f3cf63a223f1d7eb6b06c02ec0abb1d4486ae (diff) | |
download | automake-d3303684e6f05d550b4bec305b6a8650bb0ebfb9.tar.gz |
tests: root can write on files without write perms; cater for this
Fixes last part of automake bug#11369.
* t/dist-readonly.sh ($required): Add 'non-root'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/dist-readonly.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/dist-readonly.sh b/t/dist-readonly.sh index 1aa32c804..2bf2a6d6b 100755 --- a/t/dist-readonly.sh +++ b/t/dist-readonly.sh @@ -17,7 +17,9 @@ # Test that a readonly files are distributed as such, and not make # writable while being copied in the $(distdir). -required=cc +# This test expect the user to be unable to write on files lacking +# write permissions -- so it won't work if the user is 'root'. +required='non-root cc' . ./defs || Exit 1 cat >> configure.ac << 'END' |