summaryrefslogtreecommitdiff
path: root/t/tap-planskip-bailout.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-07-26 00:20:03 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-07-26 14:11:33 +0200
commit42fb45b7d98e9155d05f056609452f0ff2385333 (patch)
treeb079515441f6003ab019e5f4adf9227106c1d8dd /t/tap-planskip-bailout.sh
parentecbceb3e4cb88019e490c4814ca7a7382e4e2299 (diff)
downloadautomake-42fb45b7d98e9155d05f056609452f0ff2385333.tar.gz
tests: simplify sourcing of helper shell files
Now that the early $PATH setup in both 'runtest' and AM_TESTS_ENVIRONMENT allow the '.' built-in to find to-be-sourced shell scripts in the 't/ax/' directory automatically, we can simplify several usages like: . "$am_testauxdir"/foo.sh to just: . foo.sh Also, because our test scripts run with the 'errexit' flag active, and because POSIX mandates that, when the '.' built-in is used, ... if no readable file is found, a non-interactive shell shall abort ... we can further simplify usages like: . "$am_testauxdir"/foo.sh || fatal_ "sourcing foo.sh" once again to to just: . foo.sh * ./defs, several tests: Adjusted. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/tap-planskip-bailout.sh')
-rwxr-xr-xt/tap-planskip-bailout.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/tap-planskip-bailout.sh b/t/tap-planskip-bailout.sh
index 255443d7b..6558a6970 100755
--- a/t/tap-planskip-bailout.sh
+++ b/t/tap-planskip-bailout.sh
@@ -20,7 +20,7 @@
. ./defs || exit 1
-. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
+. tap-setup.sh
cat > all.test <<END
1..0 # SKIP