From a55591f32d816db41335835eb8bc92aa4d5c5267 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 24 Nov 2012 14:32:06 +0100 Subject: tests: give some tests more significant names * t/req.sh: Rename ... * t/aclocal-req.sh: ... like this. * t/reqd.sh: Rename ... * t/add-missing-multiple.sh: ... like this. * t/block.sh: Rename ... * t/comment-block.sh: ... like this. * t/list-of-tests.mk: Adjust. Signed-off-by: Stefano Lattarini --- t/comment-block.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 t/comment-block.sh (limited to 't/comment-block.sh') diff --git a/t/comment-block.sh b/t/comment-block.sh new file mode 100755 index 000000000..a50b9d3e7 --- /dev/null +++ b/t/comment-block.sh @@ -0,0 +1,34 @@ +#! /bin/sh +# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Make sure block comments are not double-spaced. +# Report from François Pinard. + +. test-init.sh + +cat > Makefile.am << 'END' +#START +#a +#b +#c +#END +END + +$ACLOCAL +$AUTOMAKE + +(sed -e '/^#START/,/^#END/ !d' Makefile.in | grep -v '^#') && exit 1 +exit 0 -- cgit v1.2.1