blob: 9a1cc6c4776c054022b51c492df9e0456f10f027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# add 2019-04-02 by Rainer Gerhards, released under ASL 2.0
. ${srcdir:=.}/diag.sh init
generate_conf
add_conf '
module(load="../contrib/mmdarwin/.libs/mmdarwin")
action(type="mmdarwin" socketpath="/invalid" key="invalid" fields="invalid")
action(type="omfile" file="'$RSYSLOG_OUT_LOG'")
'
startup
shutdown_when_empty
wait_shutdown
content_check --regex "error connecting to Darwin.*/invalid"
exit_test
|