testbench: nitfix

This commit is contained in:
Rainer Gerhards 2019-02-22 16:23:22 +01:00
parent 3f364fcafe
commit 316322f7a1

View File

@ -33,7 +33,7 @@ ruleset(name="foo") {
searchType="test-type" searchType="test-type"
serverport="19200" serverport="19200"
bulkmode="on" bulkmode="on"
errorFile="./'${RSYSLOG_DYNNAME}'.errorfile" errorFile="'${RSYSLOG_DYNNAME}'.errorfile"
erroronly="on") erroronly="on")
} }
@ -53,7 +53,7 @@ python $srcdir/elasticsearch-error-format-check.py erroronly
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
echo "error: Format for error file different! " $? echo "error: Format for error file different! " $?
exit 1 error_exit 1
fi fi
cleanup_elasticsearch cleanup_elasticsearch
exit_test exit_test