Blame SOURCES/0042-tests-Disable-tests-known-to-fail-on-RHEL8.patch

4e0227
From f9dca1704ce66be31eceac4d7317b825269b3d07 Mon Sep 17 00:00:00 2001
4e0227
From: Phil Sutter <psutter@redhat.com>
4e0227
Date: Tue, 2 Mar 2021 17:06:06 +0100
4e0227
Subject: [PATCH] tests: Disable tests known to fail on RHEL8
4e0227
4e0227
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1919203
4e0227
Upstream Status: RHEL-only
4e0227
4e0227
RHEL8 kernel does not support:
4e0227
4e0227
- ct timeout or expectation objects
4e0227
- synproxy
4e0227
- flowtables in families other than inet
4e0227
- meta time
4e0227
- bridge family-specific meta expressions (e.g. ibrvproto, ibrpvid)
4e0227
- socket mark
4e0227
- osf
4e0227
- delete set elements from packet path
4e0227
- update stateful objects
4e0227
- explicitly setting set element expiration (commit 79ebb5bb4e3)
4e0227
- flushing chains and deleting referenced objects in the same
4e0227
  transaction (upstream commits with 'bogus EBUSY' in subject)
4e0227
4e0227
Disable all related tests to make the testsuites pass.
4e0227
---
8ff5ad
 tests/monitor/testcases/object.t              | 14 +++---
8ff5ad
 tests/py/any/meta.t                           | 36 +++++++--------
8ff5ad
 tests/py/bridge/meta.t                        |  8 ++--
8ff5ad
 tests/py/inet/osf.t                           | 24 +++++-----
8ff5ad
 tests/py/inet/socket.t                        |  2 +-
8ff5ad
 tests/py/inet/synproxy.t                      | 12 ++---
8ff5ad
 tests/py/ip/objects.t                         | 46 +++++++++----------
8ff5ad
 tests/py/ip6/sets.t                           |  2 +-
8ff5ad
 .../flowtable/0002create_flowtable_0          |  8 ++--
8ff5ad
 .../testcases/flowtable/0003add_after_flush_0 |  8 ++--
8ff5ad
 .../flowtable/0004delete_after_add_0          |  6 +--
8ff5ad
 .../testcases/flowtable/0005delete_in_use_1   | 10 ++--
8ff5ad
 tests/shell/testcases/flowtable/0007prio_0    |  6 +--
8ff5ad
 tests/shell/testcases/flowtable/0008prio_1    |  4 +-
8ff5ad
 .../flowtable/0009deleteafterflush_0          | 12 ++---
8ff5ad
 tests/shell/testcases/listing/0013objects_0   |  2 +
8ff5ad
 .../testcases/nft-f/0017ct_timeout_obj_0      |  2 +
8ff5ad
 .../testcases/nft-f/0018ct_expectation_obj_0  |  2 +
8ff5ad
 ....nft => 0017ct_timeout_obj_0.nft.disabled} |  0
8ff5ad
 .../optionals/update_object_handles_0         |  2 +
8ff5ad
 .../sets/0036add_set_element_expiration_0     |  2 +
8ff5ad
 tests/shell/testcases/transactions/0046set_0  |  2 +
8ff5ad
 22 files changed, 111 insertions(+), 99 deletions(-)
8ff5ad
 rename tests/shell/testcases/nft-f/dumps/{0017ct_timeout_obj_0.nft => 0017ct_timeout_obj_0.nft.disabled} (100%)
4e0227
4e0227
diff --git a/tests/monitor/testcases/object.t b/tests/monitor/testcases/object.t
4e0227
index 2afe33c..1b30384 100644
4e0227
--- a/tests/monitor/testcases/object.t
4e0227
+++ b/tests/monitor/testcases/object.t
4e0227
@@ -37,10 +37,10 @@ I delete ct helper ip t cth
4e0227
 O -
4e0227
 J {"delete": {"ct helper": {"family": "ip", "name": "cth", "table": "t", "handle": 0, "type": "sip", "protocol": "tcp", "l3proto": "ip"}}}
4e0227
 
4e0227
-I add ct timeout ip t ctt { protocol udp; l3proto ip; policy = { unreplied : 15, replied : 12 }; }
4e0227
-O -
4e0227
-J {"add": {"ct timeout": {"family": "ip", "name": "ctt", "table": "t", "handle": 0, "protocol": "udp", "l3proto": "ip", "policy": {"unreplied": 15, "replied": 12}}}}
4e0227
-
4e0227
-I delete ct timeout ip t ctt
4e0227
-O -
4e0227
-J {"delete": {"ct timeout": {"family": "ip", "name": "ctt", "table": "t", "handle": 0, "protocol": "udp", "l3proto": "ip", "policy": {"unreplied": 15, "replied": 12}}}}
4e0227
+# I add ct timeout ip t ctt { protocol udp; l3proto ip; policy = { unreplied : 15, replied : 12 }; }
4e0227
+# O -
4e0227
+# J {"add": {"ct timeout": {"family": "ip", "name": "ctt", "table": "t", "handle": 0, "protocol": "udp", "l3proto": "ip", "policy": {"unreplied": 15, "replied": 12}}}}
4e0227
+# 
4e0227
+# I delete ct timeout ip t ctt
4e0227
+# O -
4e0227
+# J {"delete": {"ct timeout": {"family": "ip", "name": "ctt", "table": "t", "handle": 0, "protocol": "udp", "l3proto": "ip", "policy": {"unreplied": 15, "replied": 12}}}}
4e0227
diff --git a/tests/py/any/meta.t b/tests/py/any/meta.t
4e0227
index 327f973..241b466 100644
4e0227
--- a/tests/py/any/meta.t
4e0227
+++ b/tests/py/any/meta.t
4e0227
@@ -204,21 +204,21 @@ meta iif . meta oif vmap { "lo" . "lo" : drop };ok;iif . oif vmap { "lo" . "lo"
4e0227
 meta random eq 1;ok;meta random 1
4e0227
 meta random gt 1000000;ok;meta random > 1000000
4e0227
 
4e0227
-meta time "1970-05-23 21:07:14" drop;ok
4e0227
-meta time 12341234 drop;ok;meta time "1970-05-23 22:07:14" drop
4e0227
-meta time "2019-06-21 17:00:00" drop;ok
4e0227
-meta time "2019-07-01 00:00:00" drop;ok
4e0227
-meta time "2019-07-01 00:01:00" drop;ok
4e0227
-meta time "2019-07-01 00:00:01" drop;ok
4e0227
-meta day "Saturday" drop;ok
4e0227
-meta day 6 drop;ok;meta day "Saturday" drop
4e0227
-meta day "Satturday" drop;fail
4e0227
-meta hour "17:00" drop;ok
4e0227
-meta hour "17:00:00" drop;ok;meta hour "17:00" drop
4e0227
-meta hour "17:00:01" drop;ok
4e0227
-meta hour "00:00" drop;ok
4e0227
-meta hour "00:01" drop;ok
4e0227
-
4e0227
-meta time "meh";fail
4e0227
-meta hour "24:00" drop;fail
4e0227
-meta day 7 drop;fail
4e0227
+- meta time "1970-05-23 21:07:14" drop;ok
4e0227
+- meta time 12341234 drop;ok;meta time "1970-05-23 22:07:14" drop
4e0227
+- meta time "2019-06-21 17:00:00" drop;ok
4e0227
+- meta time "2019-07-01 00:00:00" drop;ok
4e0227
+- meta time "2019-07-01 00:01:00" drop;ok
4e0227
+- meta time "2019-07-01 00:00:01" drop;ok
4e0227
+- meta day "Saturday" drop;ok
4e0227
+- meta day 6 drop;ok;meta day "Saturday" drop
4e0227
+- meta day "Satturday" drop;fail
4e0227
+- meta hour "17:00" drop;ok
4e0227
+- meta hour "17:00:00" drop;ok;meta hour "17:00" drop
4e0227
+- meta hour "17:00:01" drop;ok
4e0227
+- meta hour "00:00" drop;ok
4e0227
+- meta hour "00:01" drop;ok
4e0227
+
4e0227
+- meta time "meh";fail
4e0227
+- meta hour "24:00" drop;fail
4e0227
+- meta day 7 drop;fail
4e0227
diff --git a/tests/py/bridge/meta.t b/tests/py/bridge/meta.t
4e0227
index 94525f2..9f55cde 100644
4e0227
--- a/tests/py/bridge/meta.t
4e0227
+++ b/tests/py/bridge/meta.t
4e0227
@@ -2,7 +2,7 @@
4e0227
 
4e0227
 *bridge;test-bridge;input
4e0227
 
4e0227
-meta obrname "br0";ok
4e0227
-meta ibrname "br0";ok
4e0227
-meta ibrvproto vlan;ok
4e0227
-meta ibrpvid 100;ok
4e0227
+- meta obrname "br0";ok
4e0227
+- meta ibrname "br0";ok
4e0227
+- meta ibrvproto vlan;ok
4e0227
+- meta ibrpvid 100;ok
4e0227
diff --git a/tests/py/inet/osf.t b/tests/py/inet/osf.t
4e0227
index c828541..5191e72 100644
4e0227
--- a/tests/py/inet/osf.t
4e0227
+++ b/tests/py/inet/osf.t
4e0227
@@ -4,15 +4,15 @@
4e0227
 *ip6;osfip6;osfchain
4e0227
 *inet;osfinet;osfchain
4e0227
 
4e0227
-osf name "Linux";ok
4e0227
-osf ttl loose name "Linux";ok
4e0227
-osf ttl skip name "Linux";ok
4e0227
-osf ttl skip version "Linux:3.0";ok
4e0227
-osf ttl skip version "morethan:sixteenbytes";fail
4e0227
-osf ttl nottl name "Linux";fail
4e0227
-osf name "morethansixteenbytes";fail
4e0227
-osf name ;fail
4e0227
-osf name { "Windows", "MacOs" };ok
4e0227
-osf version { "Windows:XP", "MacOs:Sierra" };ok
4e0227
-ct mark set osf name map { "Windows" : 0x00000001, "MacOs" : 0x00000002 };ok
4e0227
-ct mark set osf version map { "Windows:XP" : 0x00000003, "MacOs:Sierra" : 0x00000004 };ok
4e0227
+- osf name "Linux";ok
4e0227
+- osf ttl loose name "Linux";ok
4e0227
+- osf ttl skip name "Linux";ok
4e0227
+- osf ttl skip version "Linux:3.0";ok
4e0227
+- osf ttl skip version "morethan:sixteenbytes";fail
4e0227
+- osf ttl nottl name "Linux";fail
4e0227
+- osf name "morethansixteenbytes";fail
4e0227
+- osf name ;fail
4e0227
+- osf name { "Windows", "MacOs" };ok
4e0227
+- osf version { "Windows:XP", "MacOs:Sierra" };ok
4e0227
+- ct mark set osf name map { "Windows" : 0x00000001, "MacOs" : 0x00000002 };ok
4e0227
+- ct mark set osf version map { "Windows:XP" : 0x00000003, "MacOs:Sierra" : 0x00000004 };ok
4e0227
diff --git a/tests/py/inet/socket.t b/tests/py/inet/socket.t
4e0227
index 91846e8..dbc0554 100644
4e0227
--- a/tests/py/inet/socket.t
4e0227
+++ b/tests/py/inet/socket.t
4e0227
@@ -8,4 +8,4 @@ socket transparent 0;ok
4e0227
 socket transparent 1;ok
4e0227
 socket transparent 2;fail
4e0227
 
4e0227
-socket mark 0x00000005;ok
4e0227
+- socket mark 0x00000005;ok
4e0227
diff --git a/tests/py/inet/synproxy.t b/tests/py/inet/synproxy.t
4e0227
index 55a05e1..9c58239 100644
4e0227
--- a/tests/py/inet/synproxy.t
4e0227
+++ b/tests/py/inet/synproxy.t
4e0227
@@ -4,10 +4,10 @@
4e0227
 *ip6;synproxyip6;synproxychain
4e0227
 *inet;synproxyinet;synproxychain
4e0227
 
4e0227
-synproxy;ok
4e0227
-synproxy mss 1460 wscale 7;ok
4e0227
-synproxy mss 1460 wscale 5 timestamp sack-perm;ok
4e0227
-synproxy timestamp sack-perm;ok
4e0227
-synproxy timestamp;ok
4e0227
-synproxy sack-perm;ok
4e0227
+-synproxy;ok
4e0227
+-synproxy mss 1460 wscale 7;ok
4e0227
+-synproxy mss 1460 wscale 5 timestamp sack-perm;ok
4e0227
+-synproxy timestamp sack-perm;ok
4e0227
+-synproxy timestamp;ok
4e0227
+-synproxy sack-perm;ok
4e0227
 
4e0227
diff --git a/tests/py/ip/objects.t b/tests/py/ip/objects.t
4e0227
index 4fcde7c..06e94f1 100644
4e0227
--- a/tests/py/ip/objects.t
4e0227
+++ b/tests/py/ip/objects.t
4e0227
@@ -33,26 +33,26 @@ ip saddr 192.168.1.3 limit name "lim1";ok
4e0227
 ip saddr 192.168.1.3 limit name "lim3";fail
4e0227
 limit name tcp dport map {443 : "lim1", 80 : "lim2", 22 : "lim1"};ok
4e0227
 
4e0227
-# ct timeout
4e0227
-%cttime1 type ct timeout { protocol tcp; policy = { established:122 } ;};ok
4e0227
-%cttime2 type ct timeout { protocol udp; policy = { syn_sent:122 } ;};fail
4e0227
-%cttime3 type ct timeout { protocol tcp; policy = { established:132, close:16, close_wait:16 } ; l3proto ip ;};ok
4e0227
-%cttime4 type ct timeout { protocol udp; policy = { replied:14, unreplied:19 } ;};ok
4e0227
-%cttime5 type ct timeout {protocol tcp; policy = { estalbished:100 } ;};fail
4e0227
-
4e0227
-ct timeout set "cttime1";ok
4e0227
-
4e0227
-# ct expectation
4e0227
-%ctexpect1 type ct expectation { protocol tcp; dport 1234; timeout 2m; size 12; };ok
4e0227
-%ctexpect2 type ct expectation { protocol udp; };fail
4e0227
-%ctexpect3 type ct expectation { protocol tcp; dport 4321; };fail
4e0227
-%ctexpect4 type ct expectation { protocol tcp; dport 4321; timeout 2m; };fail
4e0227
-%ctexpect5 type ct expectation { protocol udp; dport 9876; timeout 2m; size 12; l3proto ip; };ok
4e0227
-
4e0227
-ct expectation set "ctexpect1";ok
4e0227
-
4e0227
-# synproxy
4e0227
-%synproxy1 type synproxy mss 1460 wscale 7;ok
4e0227
-%synproxy2 type synproxy mss 1460 wscale 7 timestamp sack-perm;ok
4e0227
-
4e0227
-synproxy name tcp dport map {443 : "synproxy1", 80 : "synproxy2"};ok
4e0227
+# # ct timeout
4e0227
+# %cttime1 type ct timeout { protocol tcp; policy = { established:122 } ;};ok
4e0227
+# %cttime2 type ct timeout { protocol udp; policy = { syn_sent:122 } ;};fail
4e0227
+# %cttime3 type ct timeout { protocol tcp; policy = { established:132, close:16, close_wait:16 } ; l3proto ip ;};ok
4e0227
+# %cttime4 type ct timeout { protocol udp; policy = { replied:14, unreplied:19 } ;};ok
4e0227
+# %cttime5 type ct timeout {protocol tcp; policy = { estalbished:100 } ;};fail
4e0227
+# 
4e0227
+# ct timeout set "cttime1";ok
4e0227
+
4e0227
+# # ct expectation
4e0227
+# %ctexpect1 type ct expectation { protocol tcp; dport 1234; timeout 2m; size 12; };ok
4e0227
+# %ctexpect2 type ct expectation { protocol udp; };fail
4e0227
+# %ctexpect3 type ct expectation { protocol tcp; dport 4321; };fail
4e0227
+# %ctexpect4 type ct expectation { protocol tcp; dport 4321; timeout 2m; };fail
4e0227
+# %ctexpect5 type ct expectation { protocol udp; dport 9876; timeout 2m; size 12; l3proto ip; };ok
4e0227
+# 
4e0227
+# ct expectation set "ctexpect1";ok
4e0227
+
4e0227
+# # synproxy
4e0227
+# %synproxy1 type synproxy mss 1460 wscale 7;ok
4e0227
+# %synproxy2 type synproxy mss 1460 wscale 7 timestamp sack-perm;ok
4e0227
+# 
4e0227
+# synproxy name tcp dport map {443 : "synproxy1", 80 : "synproxy2"};ok
4e0227
diff --git a/tests/py/ip6/sets.t b/tests/py/ip6/sets.t
4e0227
index add82eb..cc43aca 100644
4e0227
--- a/tests/py/ip6/sets.t
4e0227
+++ b/tests/py/ip6/sets.t
4e0227
@@ -40,4 +40,4 @@ ip6 saddr != @set33 drop;fail
4e0227
 !set5 type ipv6_addr . ipv6_addr;ok
4e0227
 ip6 saddr . ip6 daddr @set5 drop;ok
4e0227
 add @set5 { ip6 saddr . ip6 daddr };ok
4e0227
-delete @set5 { ip6 saddr . ip6 daddr };ok
4e0227
+- delete @set5 { ip6 saddr . ip6 daddr };ok
4e0227
diff --git a/tests/shell/testcases/flowtable/0002create_flowtable_0 b/tests/shell/testcases/flowtable/0002create_flowtable_0
4e0227
index 4c85c3f..8b80e34 100755
4e0227
--- a/tests/shell/testcases/flowtable/0002create_flowtable_0
4e0227
+++ b/tests/shell/testcases/flowtable/0002create_flowtable_0
4e0227
@@ -1,12 +1,12 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
 set -e
4e0227
-$NFT add table t
4e0227
-$NFT add flowtable t f { hook ingress priority 10 \; devices = { lo }\; }
4e0227
-if $NFT create flowtable t f { hook ingress priority 10 \; devices = { lo }\; } 2>/dev/null ; then
4e0227
+$NFT add table inet t
4e0227
+$NFT add flowtable inet t f { hook ingress priority 10 \; devices = { lo }\; }
4e0227
+if $NFT create flowtable inet t f { hook ingress priority 10 \; devices = { lo }\; } 2>/dev/null ; then
4e0227
 	echo "E: flowtable creation not failing on existing set" >&2
4e0227
 	exit 1
4e0227
 fi
4e0227
-$NFT add flowtable t f { hook ingress priority 10 \; devices = { lo }\; }
4e0227
+$NFT add flowtable inet t f { hook ingress priority 10 \; devices = { lo }\; }
4e0227
 
4e0227
 exit 0
4e0227
diff --git a/tests/shell/testcases/flowtable/0003add_after_flush_0 b/tests/shell/testcases/flowtable/0003add_after_flush_0
4e0227
index 481c7ed..b4243bc 100755
4e0227
--- a/tests/shell/testcases/flowtable/0003add_after_flush_0
4e0227
+++ b/tests/shell/testcases/flowtable/0003add_after_flush_0
4e0227
@@ -1,8 +1,8 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
 set -e
4e0227
-$NFT add table x
4e0227
-$NFT add flowtable x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
+$NFT add table inet x
4e0227
+$NFT add flowtable inet x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
 $NFT flush ruleset
4e0227
-$NFT add table x
4e0227
-$NFT add flowtable x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
+$NFT add table inet x
4e0227
+$NFT add flowtable inet x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
diff --git a/tests/shell/testcases/flowtable/0004delete_after_add_0 b/tests/shell/testcases/flowtable/0004delete_after_add_0
4e0227
index 8d9a842..4618595 100755
4e0227
--- a/tests/shell/testcases/flowtable/0004delete_after_add_0
4e0227
+++ b/tests/shell/testcases/flowtable/0004delete_after_add_0
4e0227
@@ -1,6 +1,6 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
 set -e
4e0227
-$NFT add table x
4e0227
-$NFT add flowtable x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
-$NFT delete flowtable x y
4e0227
+$NFT add table inet x
4e0227
+$NFT add flowtable inet x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
+$NFT delete flowtable inet x y
4e0227
diff --git a/tests/shell/testcases/flowtable/0005delete_in_use_1 b/tests/shell/testcases/flowtable/0005delete_in_use_1
4e0227
index ef52620..eda1fb9 100755
4e0227
--- a/tests/shell/testcases/flowtable/0005delete_in_use_1
4e0227
+++ b/tests/shell/testcases/flowtable/0005delete_in_use_1
4e0227
@@ -1,11 +1,11 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
 set -e
4e0227
-$NFT add table x
4e0227
-$NFT add chain x x
4e0227
-$NFT add flowtable x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
-$NFT add rule x x flow add @y
4e0227
+$NFT add table inet x
4e0227
+$NFT add chain inet x x
4e0227
+$NFT add flowtable inet x y { hook ingress priority 0\; devices = { lo }\;}
4e0227
+$NFT add rule inet x x flow add @y
4e0227
 
4e0227
-$NFT delete flowtable x y || exit 0
4e0227
+$NFT delete flowtable inet x y || exit 0
4e0227
 echo "E: delete flowtable in use"
4e0227
 exit 1
4e0227
diff --git a/tests/shell/testcases/flowtable/0007prio_0 b/tests/shell/testcases/flowtable/0007prio_0
4e0227
index 49bbcac..0ea262f 100755
4e0227
--- a/tests/shell/testcases/flowtable/0007prio_0
4e0227
+++ b/tests/shell/testcases/flowtable/0007prio_0
4e0227
@@ -15,10 +15,10 @@ format_offset () {
4e0227
 	fi
4e0227
 }
4e0227
 
4e0227
-$NFT add table t
4e0227
+$NFT add table inet t
4e0227
 for offset in -11 -10 0 10 11
4e0227
 do
4e0227
-	$NFT add flowtable t f "{ hook ingress priority filter `format_offset $offset`; devices = { lo }; }"
4e0227
-	$NFT delete flowtable t f
4e0227
+	$NFT add flowtable inet t f "{ hook ingress priority filter `format_offset $offset`; devices = { lo }; }"
4e0227
+	$NFT delete flowtable inet t f
4e0227
 done
4e0227
 
4e0227
diff --git a/tests/shell/testcases/flowtable/0008prio_1 b/tests/shell/testcases/flowtable/0008prio_1
4e0227
index 48953d7..0d8cdff 100755
4e0227
--- a/tests/shell/testcases/flowtable/0008prio_1
4e0227
+++ b/tests/shell/testcases/flowtable/0008prio_1
4e0227
@@ -1,9 +1,9 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
-$NFT add table t
4e0227
+$NFT add table inet t
4e0227
 for prioname in raw mangle dstnar security srcnat out dummy
4e0227
 do
4e0227
-	$NFT add flowtable t f { hook ingress priority $prioname \; devices = { lo }\; }
4e0227
+	$NFT add flowtable inet t f { hook ingress priority $prioname \; devices = { lo }\; }
4e0227
 	if (($? == 0))
4e0227
 	then
4e0227
 		echo "E: $prioname should not be a valid priority name for flowtables" >&2
4e0227
diff --git a/tests/shell/testcases/flowtable/0009deleteafterflush_0 b/tests/shell/testcases/flowtable/0009deleteafterflush_0
4e0227
index 2cda563..061e22e 100755
4e0227
--- a/tests/shell/testcases/flowtable/0009deleteafterflush_0
4e0227
+++ b/tests/shell/testcases/flowtable/0009deleteafterflush_0
4e0227
@@ -1,9 +1,9 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
 set -e
4e0227
-$NFT add table x
4e0227
-$NFT add chain x y
4e0227
-$NFT add flowtable x f { hook ingress priority 0\; devices = { lo }\;}
4e0227
-$NFT add rule x y flow add @f
4e0227
-$NFT flush chain x y
4e0227
-$NFT delete flowtable x f
4e0227
+$NFT add table inet x
4e0227
+$NFT add chain inet x y
4e0227
+$NFT add flowtable inet x f { hook ingress priority 0\; devices = { lo }\;}
4e0227
+$NFT add rule inet x y flow add @f
4e0227
+$NFT flush chain inet x y
4e0227
+$NFT delete flowtable inet x f
4e0227
diff --git a/tests/shell/testcases/listing/0013objects_0 b/tests/shell/testcases/listing/0013objects_0
4e0227
index 4d39143..130d02c 100755
4e0227
--- a/tests/shell/testcases/listing/0013objects_0
4e0227
+++ b/tests/shell/testcases/listing/0013objects_0
4e0227
@@ -1,5 +1,7 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
+exit 0
4e0227
+
4e0227
 # list table with all objects and chains
4e0227
 
4e0227
 EXPECTED="table ip test {
4e0227
diff --git a/tests/shell/testcases/nft-f/0017ct_timeout_obj_0 b/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
4e0227
index 4f40779..e0f9e44 100755
4e0227
--- a/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
4e0227
+++ b/tests/shell/testcases/nft-f/0017ct_timeout_obj_0
4e0227
@@ -1,5 +1,7 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
+exit 0
4e0227
+
4e0227
 EXPECTED='table ip filter {
4e0227
 	ct timeout cttime{
4e0227
 		protocol tcp
4e0227
diff --git a/tests/shell/testcases/nft-f/0018ct_expectation_obj_0 b/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
4e0227
index 4f9872f..f518cf7 100755
4e0227
--- a/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
4e0227
+++ b/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
4e0227
@@ -1,5 +1,7 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
+exit 0
4e0227
+
4e0227
 EXPECTED='table ip filter {
4e0227
 	ct expectation ctexpect{
4e0227
 		protocol tcp
8ff5ad
diff --git a/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft b/tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft.disabled
8ff5ad
similarity index 100%
8ff5ad
rename from tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft
8ff5ad
rename to tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.nft.disabled
4e0227
diff --git a/tests/shell/testcases/optionals/update_object_handles_0 b/tests/shell/testcases/optionals/update_object_handles_0
4e0227
index 8b12b8c..e11b4e7 100755
4e0227
--- a/tests/shell/testcases/optionals/update_object_handles_0
4e0227
+++ b/tests/shell/testcases/optionals/update_object_handles_0
4e0227
@@ -1,5 +1,7 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
+exit 0
4e0227
+
4e0227
 set -e
4e0227
 $NFT add table test-ip
4e0227
 $NFT add counter test-ip traffic-counter
4e0227
diff --git a/tests/shell/testcases/sets/0036add_set_element_expiration_0 b/tests/shell/testcases/sets/0036add_set_element_expiration_0
4e0227
index 51ed0f2..043bb8f 100755
4e0227
--- a/tests/shell/testcases/sets/0036add_set_element_expiration_0
4e0227
+++ b/tests/shell/testcases/sets/0036add_set_element_expiration_0
4e0227
@@ -1,5 +1,7 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
+exit 0
4e0227
+
4e0227
 set -e
4e0227
 
4e0227
 RULESET="add table ip x
4e0227
diff --git a/tests/shell/testcases/transactions/0046set_0 b/tests/shell/testcases/transactions/0046set_0
4e0227
index 172e24d..1b24964 100755
4e0227
--- a/tests/shell/testcases/transactions/0046set_0
4e0227
+++ b/tests/shell/testcases/transactions/0046set_0
4e0227
@@ -1,5 +1,7 @@
4e0227
 #!/bin/bash
4e0227
 
4e0227
+exit 0
4e0227
+
4e0227
 RULESET='add table ip filter
4e0227
 add chain ip filter group_7933
4e0227
 add map ip filter group_7933 { type ipv4_addr : classid; flags interval; }
4e0227
-- 
8ff5ad
2.31.1
4e0227