From: Stefano Lattarini Date: Sun, 6 Jun 2010 19:08:59 +0000 (+0200) Subject: Make test `ammissing.test' stricter. X-Git-Tag: v1.11.1b~77^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c86864aeb8571537c08c20c7bc7d7a459a63d17;p=thirdparty%2Fautomake.git Make test `ammissing.test' stricter. * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly. Enable `errexit' shell flag. --- diff --git a/ChangeLog b/ChangeLog index eb2a2383b..4683ee93c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-06-09 Stefano Lattarini + + Make test `ammissing.test' stricter. + * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly. + Enable `errexit' shell flag. + 2010-06-08 Stefano Lattarini Enable `errexit' shell flag in some test scripts. diff --git a/tests/ammissing.test b/tests/ammissing.test index 61d360a28..79d9fc2d1 100755 --- a/tests/ammissing.test +++ b/tests/ammissing.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1997, 2002, 2004 Free Software Foundation, Inc. +# Copyright (C) 1997, 2002, 2004, 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,8 +18,10 @@ . ./defs || Exit 1 +set -e + echo AM_ZARDOZ >> configure.in -$ACLOCAL 2>stderr +$ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; } cat stderr grep 'configure.in:.*AM_ZARDOZ.*not found' stderr