summaryrefslogtreecommitdiff
path: root/tests/version4.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-06-08 16:09:18 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-06-08 20:38:26 +0200
commit716a33f9e43e13ddc8b3dee6188915b933d54091 (patch)
tree9f41d1c25117aea48063d8811ff2b78baf9be6c5 /tests/version4.test
parent838e94c49802cc28e0fb595426ccd1b55c97581b (diff)
downloadautomake-716a33f9e43e13ddc8b3dee6188915b933d54091.tar.gz
Enable `errexit' shell flag in some test scripts.
* tests/subcond.test: Enabled `errexit' shell flag, and related minor changes. * tests/subst.test: Likewise. * tests/tags.test: Likewise. * tests/unused.test: Likewise. * tests/vars.test: Likewise. * tests/version4.test: Likewise. * tests/vpath.test: Likewise. * tests/vtexi2.test: Likewise. * tests/werror.test: Likewise. * tests/whoami.test: Likewise. * tests/acsilent.test: Likewise, and don't use a command substitution that can be easily avoided. * tests/version.test: Enabled `errexit' shell flag, and related minor changes. Also, avoid deprecated constructs in the generated `configure.in'. * tests/version2.test: Likewise. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/version4.test')
-rwxr-xr-xtests/version4.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/version4.test b/tests/version4.test
index 9ec0cbaf0..f8ceafed9 100755
--- a/tests/version4.test
+++ b/tests/version4.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 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,11 @@
. ./defs || Exit 1
+set -e
+
cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = 1.4-p3
END
-$ACLOCAL || Exit 1
+$ACLOCAL
$AUTOMAKE