fix the exec of the testsuite

debian
Sylvestre Ledru 2020-01-12 23:40:37 +01:00
parent 1ab9964213
commit ac93287f9d
1 changed files with 2 additions and 5 deletions

7
debian/rules vendored
View File

@ -52,11 +52,8 @@ override_dh_install:
override_dh_auto_test: override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd build && \ # fails for now (4 tests), accept it for now
LC_ALL=C.UTF-8 \ FAIL2BAN_CONFIG_DIR="$(CURDIR)/config" LC_ALL=C.UTF-8 bin/fail2ban-testcases --verbosity=2 --no-network || true
FAIL2BAN_CONFIG_DIR="$(CURDIR)/config" \
PYTHONPATH="$(CURDIR)/.pybuild/cpython3_$(PYVERSION)/build/" \
scripts-*/fail2ban-testcases --no-network --verbosity=2
endif endif
override_dh_installexamples: override_dh_installexamples: