corrected wrong variable name
This commit is contained in:
parent
8c24b0f418
commit
18d910530c
|
@ -369,7 +369,7 @@
|
||||||
@test "checking fail2ban: fail2ban-jail.cf overrides" {
|
@test "checking fail2ban: fail2ban-jail.cf overrides" {
|
||||||
FILTERS=(sshd postfix dovecot postfix-sasl)
|
FILTERS=(sshd postfix dovecot postfix-sasl)
|
||||||
|
|
||||||
for FILTER in "${arr[@]}"; do
|
for FILTER in "${FILTERS[@]}"; do
|
||||||
run docker exec mail_fail2ban /bin/sh -c "fail2ban-client get $FILTER bantime"
|
run docker exec mail_fail2ban /bin/sh -c "fail2ban-client get $FILTER bantime"
|
||||||
[ "$output" = 1234 ]
|
[ "$output" = 1234 ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue