mirror of https://github.com/fail2ban/fail2ban
improve fail2ban-testcases for modern python versions
* add support for Python 10-13 * gitignore files created by fail2ban-testcases Signed-off-by: Nic Boet <nic@boet.cc>pull/3806/head
parent
766d2b8d74
commit
c8dd47341b
|
@ -11,3 +11,5 @@ __pycache__
|
|||
.vagrant/
|
||||
.idea/
|
||||
.venv/
|
||||
bin/fail2ban-python
|
||||
fail2ban.egg-info/*
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
set -eu
|
||||
|
||||
failed=
|
||||
for python in /usr/{,local/}bin/python3.[0-9]{,.*}{,-dbg}
|
||||
for python in /usr/{,local/}bin/python3.{0..13}{,.*}{,-dbg}
|
||||
do
|
||||
[ -e "$python" ] || continue
|
||||
echo "Testing using $python"
|
||||
|
|
Loading…
Reference in New Issue