diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-04-08 17:40:02 +0200 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-04-25 17:47:06 +0200 |
commit | 891c5b53311ca7b7f079baff3fb9ce52a5371ad7 (patch) | |
tree | 9061da43d23bdc1334bbf11c2dceaa11f8bb3f1c /tests/badopt.test | |
parent | 4da4ff7c1791c0113ced4c47cb8457a38f7c6a38 (diff) | |
download | automake-891c5b53311ca7b7f079baff3fb9ce52a5371ad7.tar.gz |
Make badopt.test stricter (by enabling `set -e').
* tests/badopt.test: Add call to `set -e'. Due to this change,
an unexpected failure in the call to `$ACLOCAL' (whose outcome
was previously unchecked) would cause the whole test to fail.
Also, bumped the copyright years.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/badopt.test')
-rwxr-xr-x | tests/badopt.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/badopt.test b/tests/badopt.test index 59eb5fa32..2da53e99d 100755 --- a/tests/badopt.test +++ b/tests/badopt.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 1998, 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 @@ -18,9 +18,9 @@ . ./defs || Exit 1 -cat > Makefile.am << 'END' -AUTOMAKE_OPTIONS = zardoz -END +set -e + +echo 'AUTOMAKE_OPTIONS = zardoz' > Makefile.am $ACLOCAL AUTOMAKE_fails |