Skip to contentSkip to conversation

tests: shell: packetpath/ct_count: Add missing socat feature test

PATCH In review Phil Sutter 2 participants 3 messages Jun 2 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 tests: shell: packetpath/ct_count: Add missing socat feature test

Skip the test on systems which don't have socat installed.

Fixes 95e4cbf6b63c2 ("tests: shell: add simple 'ct count' test case")
---
 tests/shell/testcases/packetpath/ct_count | 2 ++
 1 file changed, 2 insertions(+)
tests/shell/testcases/packetpath/ct_count +2 -0
index 06f586ed7cce5..77efc715be3be 100755
@@ -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
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 1 line · Phil Sutter

Skip the test on systems which don't have socat installed.

Ah, thanks. Please apply.

author reviewer
#2 lore raw
Quoted 4 lines · Florian Westphal
Quoted 1 line · Phil Sutter

Skip the test on systems which don't have socat installed.

Ah, thanks. Please apply.

Done already, sorry for not sending an "applied" message.