diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-10-27 18:22:58 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-10-27 18:22:58 +0200 |
commit | 1a22cb32d6c2c385e6ab3d838c818b7057b29f6b (patch) | |
tree | 5bc1f5d9218cf9d68984b08de9f5fb9f5d5c23e7 /t/am-dir.sh | |
parent | 90a874d77ae0143df410f18053b94c0416f6543d (diff) | |
download | automake-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/am-dir.sh')
-rwxr-xr-x | t/am-dir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/am-dir.sh b/t/am-dir.sh index 3a0904725..1f5a27669 100755 --- a/t/am-dir.sh +++ b/t/am-dir.sh @@ -26,7 +26,7 @@ # * cleaning rules and "make distcheck" interaction. # -. ./defs || exit 1 +. test-init.sh d=.am |