* tests/defs.in: Also use `$me' in error messages referring to
missing `defs' or `defs.in', since that variable is now defined
before those checks.
2010-11-10 Stefano Lattarini <stefano.lattarini@gmail.com>
+ Tests defs: use `$me' in more error messages.
+ * tests/defs.in: Also use `$me' in error messages referring to
+ missing `defs' or `defs.in', since that variable is now defined
+ before those checks.
+
Tests defs: do not use `Exit' where plain `exit' suffices.
* tests/defs.in: Use "exit 77" rather than "Exit 77" to skip the
test when required libtool/gettext macros are not found, since
# Ensure we are running from the right directory.
test -f ./defs || {
- echo "./defs: not found in current directory" >&2
+ echo "$me: ./defs: not found in current directory" >&2
exit 1
}
# Ensure $testsrcdir is set correctly.
test -f "$testsrcdir/defs.in" || {
- echo "$testsrcdir/defs.in not found, check \$testsrcdir" >&2
+ echo "$me: $testsrcdir/defs.in not found, check \$testsrcdir" >&2
exit 1
}