* tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
Enable `errexit' shell flag.
+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.
#! /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