>From d3303684e6f05d550b4bec305b6a8650bb0ebfb9 Mon Sep 17 00:00:00 2001 Message-Id: From: Stefano Lattarini Date: Sat, 28 Apr 2012 23:18:45 +0200 Subject: [PATCH] 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 --- t/dist-readonly.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/dist-readonly.sh b/t/dist-readonly.sh index 1aa32c8..2bf2a6d 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' -- 1.7.9.5