summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-04-08 23:05:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2024-04-08 23:07:22 +0200
commit6a39fd3b68ac8a96340b87b9dc8380a9cd4e6398 (patch)
tree1227a55ba52b42fb7e2d208acbdd8d187c8e3303 /tests/shell/testcases
parentafaa3ae1cc12a62fc28bef586aa7dfe39548e152 (diff)
tests: shell: check for reset tcp options support
Fixes: 59a33d08ab3a ("parser: tcpopt: fix tcp option parsing with NUM + length field") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases')
-rwxr-xr-xtests/shell/testcases/packetpath/tcp_options2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/packetpath/tcp_options b/tests/shell/testcases/packetpath/tcp_options
index 88552226..57e228c5 100755
--- a/tests/shell/testcases/packetpath/tcp_options
+++ b/tests/shell/testcases/packetpath/tcp_options
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_reset_tcp_options)
+
have_socat="no"
socat -h > /dev/null && have_socat="yes"