#!/bin/sh # Fake ctdb client for onnode tests. out="${CTDB_TEST_TMP_DIR}/ctdb.out" if [ -r "$out" ] ; then cat "$out" rc="${CTDB_TEST_TMP_DIR}/ctdb.rc" if [ -r "$rc" ] ; then exit $(cat "$rc") fi exit 0 fi echo "fake ctdb: no implementation for \"$*\"" exit 1