3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 PATH
="$PATH:$CTDB_SCRIPTS_TOOLS_HELPER_DIR"
7 setup_ctdb_base
"${TEST_VAR_DIR}" "cunit"
12 unit_test ctdb-path config
15 $CTDB_BASE/run/foobar.pid
17 unit_test ctdb-path pidfile foobar
20 $CTDB_BASE/run/foobar.socket
22 unit_test ctdb-path socket foobar
27 unit_test ctdb-path datadir
32 unit_test ctdb-path etcdir
37 unit_test ctdb-path rundir
42 unit_test ctdb-path vardir
45 $CTDB_BASE/share/foobar
47 unit_test ctdb-path datadir append foobar
52 unit_test ctdb-path etcdir append foobar
57 unit_test ctdb-path rundir append foobar
62 unit_test ctdb-path vardir append foobar