This commit causes the tests to use a known, valid reference.config
file for the tests. With the introduction of reference.config file
validation, those errors will occur before threshold.config is
validated.
min-version: 7
command: |
- ${SRCDIR}/src/suricata --set threshold-file="${TEST_DIR}/threshold.config" -l ${OUTPUT_DIR} -c ${TEST_DIR}/suricata.yaml -S ${TEST_DIR}/input.rules -T
+ ${SRCDIR}/src/suricata --set reference-config-file="${SRCDIR}/etc/reference.config" --set threshold-file="${TEST_DIR}/threshold.config" -l ${OUTPUT_DIR} -c ${TEST_DIR}/suricata.yaml -S ${TEST_DIR}/input.rules -T
exit-code: 0
min-version: 7
command: |
- ${SRCDIR}/src/suricata --set threshold-file="${TEST_DIR}/threshold.config" -l ${OUTPUT_DIR} -c ${SRCDIR}/suricata.yaml -S ${TEST_DIR}/test.rules -T
+ ${SRCDIR}/src/suricata --set reference-config-file="${SRCDIR}/etc/reference.config" --set threshold-file="${TEST_DIR}/threshold.config" -l ${OUTPUT_DIR} -c ${SRCDIR}/suricata.yaml -S ${TEST_DIR}/test.rules -T
exit-code: 1