corrected wrong variable name

This commit is contained in:
Dominik Winter 2016-06-04 03:12:18 +02:00
parent 8c24b0f418
commit 18d910530c

View file

@ -369,7 +369,7 @@
@test "checking fail2ban: fail2ban-jail.cf overrides" {
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"
[ "$output" = 1234 ]