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
Nic Boet 2024-07-25 14:11:59 -05:00
parent 766d2b8d74
commit c8dd47341b
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@ __pycache__
.vagrant/
.idea/
.venv/
bin/fail2ban-python
fail2ban.egg-info/*

View File

@ -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"