]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Make test `ammissing.test' stricter.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 6 Jun 2010 19:08:59 +0000 (21:08 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 9 Jun 2010 19:00:59 +0000 (21:00 +0200)
* tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
Enable `errexit' shell flag.

ChangeLog
tests/ammissing.test

index eb2a2383b28f97209f2b21906f59717cd020fb43..4683ee93c63631ae5b4aa858eb1a392416877b6d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       Make test `ammissing.test' stricter.
+       * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
+       Enable `errexit' shell flag.
+
 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        Enable `errexit' shell flag in some test scripts.
index 61d360a28f9031907209e32dae6af676f912f5e6..79d9fc2d16df2222b902a4387b2e5162ba80db8d 100755 (executable)
@@ -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
 
 . ./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