#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "redirected status output in debug script" cat > "$eventd_scriptdir/01.test" < "$eventd_scriptdir/debug.sh" <"$eventd_debug" 2>&1 ctdb_event "$eventd_socket" status monitor lastrun EOF chmod +x "$eventd_scriptdir/debug.sh" setup_eventd "$eventd_scriptdir/debug.sh" required_result 62 <