summaryrefslogtreecommitdiff
path: root/t/suffix3.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-10-27 18:22:58 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-10-27 18:22:58 +0200
commit1a22cb32d6c2c385e6ab3d838c818b7057b29f6b (patch)
tree5bc1f5d9218cf9d68984b08de9f5fb9f5d5c23e7 /t/suffix3.sh
parent90a874d77ae0143df410f18053b94c0416f6543d (diff)
downloadautomake-1a22cb32d6c2c385e6ab3d838c818b7057b29f6b.tar.gz
tests: prefer including 'test-init.sh' rather than './defs'
This is a follow-up to today's same-name commit v1.12.4-181-g5ddf100, which did the same for the test cases in master. * All tests: To run the common setup, use the command: . test-init.sh instead of the older, "historical" one: . ./defs || exit 1 Note that the "|| exit 1" wasn't really useful, since the 'errexit' shell flag is in effect in both './defs' and 'test-init.sh', and all the known shells that are good enough to run the automake testsuite do automatically exit with error when a sourced file cannot be found (at least, they do so in non-interactive mode, which is the only mode that concerns us in the testsuite). Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/suffix3.sh')
-rwxr-xr-xt/suffix3.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/suffix3.sh b/t/suffix3.sh
index 4688e5357..e8b412453 100755
--- a/t/suffix3.sh
+++ b/t/suffix3.sh
@@ -17,7 +17,7 @@
# Test to make sure that suffix rules chain.
required=c++
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CXX