Project

General

Profile

Actions

Bug #1493

closed

config test (-T) doesn't fail on missing files

Added by Victor Julien over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Using the default config, this command should fail: suricata -c suricata.yaml --set default-rule-path=/tmp -T -v -l /tmp/

However, it doesn't:

[25975] 29/6/2015 -- 17:15:56 - (detect.c:399) <Warning> (ProcessSigFiles) -- [ERRCODE: SC_ERR_NO_RULES(42)] - No rule files match the 
[25975] 29/6/2015 -- 17:15:56 - (suricata.c:2320) <Info> (main) -- Configuration provided was successfully loaded. Exiting.

As the bug was introduced in pr/1501 (f11e237d7791c5fe6d49ae68a39e525291e9b5da) I'm assigning it to you Alex :)

Actions

Also available in: Atom PDF