diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 13:08:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 13:08:38 +0000 |
commit | 9fe063bb3ef278a591e344caa78bee679536b7ee (patch) | |
tree | f589ace33354785090116341f7c702b6035b0868 /debian/tests/internaltest-py.sh | |
parent | Adding upstream version 1.0.9. (diff) | |
download | nftables-9fe063bb3ef278a591e344caa78bee679536b7ee.tar.xz nftables-9fe063bb3ef278a591e344caa78bee679536b7ee.zip |
Adding debian version 1.0.9-1.debian/1.0.9-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/tests/internaltest-py.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/tests/internaltest-py.sh b/debian/tests/internaltest-py.sh new file mode 100644 index 0000000..f8e7627 --- /dev/null +++ b/debian/tests/internaltest-py.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# Run the internal tests of nftables (py) + +# The testsuite requires kernel at least 4.x +if [ "$(uname -r | cut -d. -f1)" -lt 4 ] ; then + echo "W: This testsuite is likely to produce many fails because of old kernel" +fi + +set -e +cd tests/py +NFT=$(which nft) ./nft-test.py |