summaryrefslogtreecommitdiffstats
path: root/tests/rscript_backticks_empty_envvar-vg.sh
blob: 95d2038e30e50778c67df588c126109d0260b684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# added 2018-11-02 by rgerhards
# see also https://github.com/rsyslog/rsyslog/issues/3006
# released under ASL 2.0
. ${srcdir:=.}/diag.sh init
generate_conf
add_conf '
if `echo $DOES_NOT_EXIST` == "" then
	action(type="omfile" file=`echo $RSYSLOG_OUT_LOG`)
'
startup_vg
shutdown_when_empty
wait_shutdown_vg
check_exit_vg
content_check --regex "rsyslogd: .*start"
exit_test