#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "debug script" cat > "$eventd_scriptdir/01.test" < "$eventd_scriptdir/debug.sh" < "$eventd_debug" EOF chmod +x "$eventd_scriptdir/debug.sh" setup_eventd "$eventd_scriptdir/debug.sh" result_filter () { _pid="[0-9][0-9]*" sed -e "s| ${_pid}| PID|" } required_result 62 <