mirror of https://github.com/fail2ban/fail2ban
ENH: fail2ban-testcases-all -- pass cmdline options to fail2ban-testcases
parent
f10537941b
commit
348239cf14
|
@ -9,7 +9,7 @@ for python in /usr/{,local/}bin/python2.[0-9]{,.*}{,-dbg}
|
||||||
do
|
do
|
||||||
[ -e "$python" ] || continue
|
[ -e "$python" ] || continue
|
||||||
echo "Testing using $python"
|
echo "Testing using $python"
|
||||||
$python ./fail2ban-testcases || failed+=" $python"
|
$python ./fail2ban-testcases "$@" || failed+=" $python"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ ! -z "$failed" ]; then
|
if [ ! -z "$failed" ]; then
|
||||||
|
|
Loading…
Reference in New Issue