mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
bats: clean up extra output (#3008)
This commit is contained in:
parent
41ec90ae8c
commit
ccab6e9910
2 changed files with 6 additions and 7 deletions
|
@ -14,9 +14,9 @@ setup_file() {
|
|||
# we reset config and data, and only run the daemon once for all the tests in this file
|
||||
./instance-data load
|
||||
|
||||
cscli collections install crowdsecurity/sshd --error
|
||||
cscli parsers install crowdsecurity/syslog-logs --error
|
||||
cscli parsers install crowdsecurity/dateparse-enrich --error
|
||||
cscli collections install crowdsecurity/sshd --error >/dev/null
|
||||
cscli parsers install crowdsecurity/syslog-logs --error >/dev/null
|
||||
cscli parsers install crowdsecurity/dateparse-enrich --error >/dev/null
|
||||
|
||||
./instance-crowdsec start
|
||||
}
|
||||
|
|
|
@ -14,10 +14,9 @@ setup_file() {
|
|||
# we reset config and data, but run the daemon only in the tests that need it
|
||||
./instance-data load
|
||||
|
||||
cscli collections install crowdsecurity/sshd --error
|
||||
cscli parsers install crowdsecurity/syslog-logs --error
|
||||
cscli parsers install crowdsecurity/dateparse-enrich --error
|
||||
|
||||
cscli collections install crowdsecurity/sshd --error >/dev/null
|
||||
cscli parsers install crowdsecurity/syslog-logs --error >/dev/null
|
||||
cscli parsers install crowdsecurity/dateparse-enrich --error >/dev/null
|
||||
}
|
||||
|
||||
teardown_file() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue