From: Stefano Lattarini Date: Thu, 8 Apr 2010 16:30:29 +0000 (+0200) Subject: Avoid possible false negatives in canon-name.test. X-Git-Tag: v1.11.1b~86^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dd1cc65b3e405d45a26b868879f5fc4ed2e84d8;p=thirdparty%2Fautomake.git Avoid possible false negatives in canon-name.test. * tests/canon-name.test: Enable shell `errexit' flag. Improve test description. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 642387578..633a738e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-12 Stefano Lattarini + + Avoid possible false negatives in canon-name.test. + * tests/canon-name.test: Enable shell `errexit' flag. Improve + test description. + 2010-04-11 Ralf Wildenhues Fix per-Makefile.am setting of -Werror. diff --git a/tests/canon-name.test b/tests/canon-name.test index 50a4dff39..aecda1720 100755 --- a/tests/canon-name.test +++ b/tests/canon-name.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2007 Free Software Foundation, Inc. +# Copyright (C) 2007, 2010 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 @@ -14,10 +14,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# PR 511: Make sure we warn about AC_CONFIG_FILES([./makefile]). +# PR 511: Make sure we warn about e.g. AC_CONFIG_FILES([./gmakefile]), +# as not all make implementations treat `file' and `./file' equally. . ./defs || Exit 1 +set -e + cat > configure.in << 'END' AC_INIT([canon-name], [1.0]) AM_INIT_AUTOMAKE