summaryrefslogtreecommitdiff
path: root/tests/vtexi2.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/vtexi2.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/vtexi2.test')
-rwxr-xr-xtests/vtexi2.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/vtexi2.test b/tests/vtexi2.test
index 633fe1322..e1a1b93cf 100755
--- a/tests/vtexi2.test
+++ b/tests/vtexi2.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 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
@@ -21,6 +22,8 @@
. ./defs || Exit 1
+set -e
+
cat > Makefile.am << 'END'
info_TEXINFOS = zardoz.texi
END
@@ -34,7 +37,7 @@ END
: > mdate-sh
: > texinfo.tex
-$ACLOCAL || Exit 1
-$AUTOMAKE || Exit 1
+$ACLOCAL
+$AUTOMAKE
grep '^zardoz\.dvi:' Makefile.in