From 77906e68f3c22de8ae74106ed59552a236970d83 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 1 Mar 2024 13:59:38 +0100 Subject: tests: add test case for named ct objects Add a dedicated test for named conntrack objects: timeouts, helpers and expectations. A json dump file is not added because the json input code does not support "typeof" declarations for sets/maps. Signed-off-by: Florian Westphal --- tests/shell/testcases/maps/named_ct_objects | 94 +++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100755 tests/shell/testcases/maps/named_ct_objects (limited to 'tests/shell/testcases/maps/named_ct_objects') diff --git a/tests/shell/testcases/maps/named_ct_objects b/tests/shell/testcases/maps/named_ct_objects new file mode 100755 index 00000000..61b87c1a --- /dev/null +++ b/tests/shell/testcases/maps/named_ct_objects @@ -0,0 +1,94 @@ +#!/bin/bash + +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_cttimeout) + +$NFT -f /dev/stdin <