From 20f6bb8f32131eb2da5a24b1f74adc5277143f5b Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 9 Apr 2010 18:24:34 +0200 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ tests/confsub.test | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) 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 -- 2.47.2