diff options
Diffstat (limited to 't/comments-escaped-in-var.sh')
-rw-r--r-- | t/comments-escaped-in-var.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/t/comments-escaped-in-var.sh b/t/comments-escaped-in-var.sh index e06c3f359..75c01a702 100644 --- a/t/comments-escaped-in-var.sh +++ b/t/comments-escaped-in-var.sh @@ -30,8 +30,11 @@ END $ACLOCAL -# This should fail due to -Werror. -$AUTOMAKE && exit 1 +# This should fail due to -Werror, as in: +# automake-1.16: warnings are treated as errors +# Makefile.am:2: warning: escaping \# comment markers is not portable +AUTOMAKE_fails +grep 'escaping.*comment markers.*portable' stderr # This should pass though. $AUTOMAKE -Wno-portability |