* defs: Drop overly paranoid sanity checks that was causing all the tests
to fail spuriously when run in a VPATH setup, with a message like:
"../t/nodef.sh: ./t/ax/test-init.sh: not found in current directory".
Those checks looked for invariants that, even if broken, would still
cause the test to fail very early and with a pretty clear error message
anyway.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
# might be just a Bourne shell, non POSIX-conforming, like on Solaris
# up to version 11 at least).
-# Ensure we are running from the right directory.
-for f in defs-static t/ax/test-init.sh; do
- if test ! -f ./$f; then
- echo "$0: ./$f: not found in current directory" >&2
- exit 99
- fi
-done
-
# Source the shell static setup and variable definitions.
. ./defs-static
test $? -eq 0 || exit 99