]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: packetpath/ct_count: Add missing socat feature test master
authorPhil Sutter <phil@nwl.cc>
Tue, 2 Jun 2026 13:05:09 +0000 (15:05 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 2 Jun 2026 13:07:27 +0000 (15:07 +0200)
Skip the test on systems which don't have socat installed.

Fixes: 95e4cbf6b63c2 ("tests: shell: add simple 'ct count' test case")
Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/shell/testcases/packetpath/ct_count

index 06f586ed7cce5af6481611bb6c86e2c7a0fd3174..77efc715be3be74e19858f2ac0923d82baa17127 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/bash
 # Test nftables connlimit functionality using network namespaces and socat
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_socat)
+
 . $NFT_TEST_LIBRARY_FILE
 
 set -e