summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:50:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:50:38 +0000
commit62af0cb88424bb2972c9d5099eb29e44ee4b0cd5 (patch)
tree90924c511d239768ad11d2277eaaabd577f531fe /debian/tests
parentAdding debian version 1.0.9-1. (diff)
downloadnftables-debian.tar.xz
nftables-debian.zip
Adding debian version 1.0.9-2.debian/1.0.9-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control7
-rw-r--r--debian/tests/internaltest-py.sh2
2 files changed, 4 insertions, 5 deletions
diff --git a/debian/tests/control b/debian/tests/control
index 9b40f99..8ec5461 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -10,10 +10,9 @@ Tests: internaltest-monitor.sh
Depends: @
Restrictions: needs-root, allow-stderr, isolation-container, flaky
-# Disable test until we decide what to do with the nftables python module
-#Tests: internaltest-py.sh
-#Depends: @, python
-#Restrictions: needs-root, allow-stderr, isolation-container, build-needed
+Tests: internaltest-py.sh
+Depends: @, python3
+Restrictions: needs-root, allow-stderr, isolation-container, flaky
Tests: systemd-service-test.sh
Depends: systemd, @
diff --git a/debian/tests/internaltest-py.sh b/debian/tests/internaltest-py.sh
index f8e7627..2b898b9 100644
--- a/debian/tests/internaltest-py.sh
+++ b/debian/tests/internaltest-py.sh
@@ -9,4 +9,4 @@ fi
set -e
cd tests/py
-NFT=$(which nft) ./nft-test.py
+NFT=$(which nft) python3 ./nft-test.py