From: Stefano Lattarini Date: Fri, 9 Apr 2010 14:33:43 +0000 (+0200) Subject: Avoid possible false negatives in confh5.test. X-Git-Tag: v1.11.1b~86^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3645d214c9c8afe4e7228bdd69f2eceddfaa1473;p=thirdparty%2Fautomake.git Avoid possible false negatives in confh5.test. * tests/confh5.test: Enable shell `errexit' flag, and bumped copyright years. Due to this change, any unexpected failure in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or a failure in grepping expected text in output files should now cause the whole test to fail. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index d0469caf6..08e3c737e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-04-20 Stefano Lattarini + + Avoid possible false negatives in confh5.test. + * tests/confh5.test: Enable shell `errexit' flag, and bumped + copyright years. Due to this change, any unexpected failure + in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or + a failure in grepping expected text in output files should now + cause the whole test to fail. + 2010-04-17 Stefano Lattarini Fixed typo in POD documentation of Automake::Channels. diff --git a/tests/confh5.test b/tests/confh5.test index 7c5f37e01..febe000b5 100755 --- a/tests/confh5.test +++ b/tests/confh5.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 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 @@ -18,6 +18,8 @@ . ./defs || Exit 1 +set -e + cat >> configure.in << 'END' AC_SUBST([FOO], [name]) AC_CONFIG_FILES(include/config.h.in)