rsyslog/tests/check-length-json-property.sh
PascalWithopf c7a5085a7e Segfault when variable path consists of variables
When no variables exist and a variable with at least one variable in its path was used, then rsyslog was searching for that non existant variable
Rsyslog now aborts it when no variables exist.
closes https://github.com/rsyslog/rsyslog/issues/1920
2017-11-02 17:38:25 +01:00

14 lines
335 B
Bash
Executable File

#!/bin/bash
# add 2017-10-30 by PascalWithopf, released under ASL 2.0
#tests for Segmentation Fault
. $srcdir/diag.sh init
. $srcdir/diag.sh generate-conf
. $srcdir/diag.sh add-conf '
#set $!r = $!var1!var3!var2;
'
. $srcdir/diag.sh startup
. $srcdir/diag.sh shutdown-when-empty
. $srcdir/diag.sh wait-shutdown
. $srcdir/diag.sh exit