From 757e2afee6e765c4cb2acccd2bb415823a006f05 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 13 Jan 2020 11:09:28 +0100 Subject: [PATCH] Run the testsuite for real --- debian/changelog | 6 ++++++ debian/patches/python3-test-suite.diff | 10 ++++++++++ debian/patches/series | 1 + 3 files changed, 17 insertions(+) create mode 100644 debian/patches/python3-test-suite.diff diff --git a/debian/changelog b/debian/changelog index 3fda18e4..547daf36 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +fail2ban (0.11.1-1~exp2) experimental; urgency=medium + + * Run the testsuite for real + + -- Sylvestre Ledru Mon, 13 Jan 2020 11:09:08 +0100 + fail2ban (0.11.1-1~exp1) experimental; urgency=medium [ Sylvestre Ledru ] diff --git a/debian/patches/python3-test-suite.diff b/debian/patches/python3-test-suite.diff new file mode 100644 index 00000000..7740939e --- /dev/null +++ b/debian/patches/python3-test-suite.diff @@ -0,0 +1,10 @@ +Index: fail2ban/bin/fail2ban-testcases +=================================================================== +--- fail2ban.orig/bin/fail2ban-testcases ++++ fail2ban/bin/fail2ban-testcases +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: t -*- + # vi: set ft=python sts=4 ts=4 sw=4 noet : + """Script to run Fail2Ban tests battery diff --git a/debian/patches/series b/debian/patches/series index 88a84dc3..ce3d75f3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ deb_init_paths deb_manpages_reportbug 0002-ENH-verify-that-use_stock_cfg-was-not-provided-while.patch deb_no_iptables_service +python3-test-suite.diff