summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-28 23:18:45 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-04-28 23:19:04 +0200
commitd3303684e6f05d550b4bec305b6a8650bb0ebfb9 (patch)
tree67a430495342c43298ad489d9d11d9d00301d87b /t
parent807f3cf63a223f1d7eb6b06c02ec0abb1d4486ae (diff)
downloadautomake-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-xt/dist-readonly.sh4
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'