rsyslog/tests/omudpspoof_errmsg_no_params.sh
Rainer Gerhards 9312bac2f5
testbench: add base test for omudpspoof
this now also ensure at least minimal check when CI does not
contain a system running with root permissions.
2019-04-15 12:57:52 +02:00

17 lines
371 B
Bash
Executable File

#!/bin/bash
# add 2019-04-15 by Rainer Gerhards, released under ASL 2.0
. ${srcdir:=.}/diag.sh init
generate_conf
add_conf '
module(load="../plugins/omudpspoof/.libs/omudpspoof")
action(type="omfile" file="'$RSYSLOG_OUT_LOG'")
action(type="omudpspoof")
'
startup
shutdown_when_empty
wait_shutdown
content_check "parameter 'target' required but not specified"
exit_test