From: Stefano Lattarini Date: Fri, 9 Apr 2010 16:24:34 +0000 (+0200) Subject: Use `set -e' in confsub.test (avoid false negatives). X-Git-Tag: v1.11.1b~85^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f6bb8f32131eb2da5a24b1f74adc5277143f5b;p=thirdparty%2Fautomake.git Use `set -e' in confsub.test (avoid false negatives). * tests/confsub.test: Enable shell `errexit' flag, and related changes (this helps avoiding some possible minor false negatives). Also, bumped copyright years. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 9f69f7ab2..9fd00dc25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-04-20 Stefano Lattarini + + Use `set -e' in confsub.test (avoids possible false negatives). + * tests/confsub.test: Enable shell `errexit' flag, and related + changes (this helps avoiding some possible minor false negatives). + Also, bumped copyright years. + 2010-04-20 Ralf Wildenhues Fix -Werror handling for presence of configure.in and configure.ac. diff --git a/tests/confsub.test b/tests/confsub.test index 40c90c5ea..65ec91bcb 100755 --- a/tests/confsub.test +++ b/tests/confsub.test @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 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 @@ -20,6 +20,8 @@ . ./defs || Exit 1 +set -e + cat > configure.in << 'END' AC_INIT AM_INIT_AUTOMAKE(nonesuch, nonesuch) @@ -55,5 +57,3 @@ $sleep echo 'After.' > subdir/config.hin $MAKE || Exit 1 $FGREP 'After.' subdir/config.h || Exit 1 - -Exit 0