mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
f6178fcc9d
This will be sourced by all unit tests. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit afdaa5f032938d56ff315d9553cb285ebc413c4c)
17 lines
305 B
Bash
17 lines
305 B
Bash
# Hey Emacs, this is a -*- shell-script -*- !!! :-)
|
|
|
|
. "${TEST_SCRIPTS_DIR}/common.sh"
|
|
|
|
# Common variables and functions for CTDB unit tests.
|
|
|
|
required_result ()
|
|
{
|
|
required_rc="${1:-0}"
|
|
required_output=$(cat)
|
|
}
|
|
|
|
local="${TEST_SUBDIR}/scripts/local.sh"
|
|
if [ -r "$local" ] ; then
|
|
. "$local"
|
|
fi
|