diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/dist-readonly.sh | 4 | ||||
-rwxr-xr-x | t/lex-clean.sh | 2 |
2 files changed, 4 insertions, 2 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' diff --git a/t/lex-clean.sh b/t/lex-clean.sh index 9b23f0104..42131954d 100755 --- a/t/lex-clean.sh +++ b/t/lex-clean.sh @@ -19,7 +19,7 @@ # distributed .l sources are cleaned by "make maintainer-clean". # See also sister test 'lex-clean-cxx.test'. -required=yacc +required=lex . ./defs || Exit 1 cat >> configure.ac << 'END' |