1 # Hey Emacs, this is a -*- shell-script -*- !!! :-)
3 # Common variables and functions for all CTDB tests.
5 export TEST_SUBDIR=$(dirname $0)
7 CTDB_DIR=$(dirname $(dirname "$TEST_SUBDIR"))
9 # Print a message and exit.
12 echo "$1" >&2 ; exit ${2:-1}