summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2025-07-10 02:53:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2025-07-10 02:53:57 +0200
commit26746952952bba8c19aebbd03a55decbc0d0c5fc (patch)
treed843944aa921582586374613ce487950ef8f953a /tests
parente0d92243be1cf1a485450a56d845e7bf2d1c6051 (diff)
tests: monitor: enclose device names in quotesHEADmaster
Update test to enclose flowtable device names in quotes, otherwise, it reports a spurious issue: @@ -1,2 +1,3 @@ add table ip t -add flowtable ip t ft { hook ingress priority 0; devices = { lo }; } +add flowtable ip t ft { hook ingress priority 0; devices = { "lo" }; } Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/monitor/testcases/flowtable-simple.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor/testcases/flowtable-simple.t b/tests/monitor/testcases/flowtable-simple.t
index b373cca2..11254c51 100644
--- a/tests/monitor/testcases/flowtable-simple.t
+++ b/tests/monitor/testcases/flowtable-simple.t
@@ -1,6 +1,6 @@
# setup first
I add table ip t
-I add flowtable ip t ft { hook ingress priority 0; devices = { lo }; }
+I add flowtable ip t ft { hook ingress priority 0; devices = { "lo" }; }
O -
J {"add": {"table": {"family": "ip", "name": "t", "handle": 0}}}
J {"add": {"flowtable": {"family": "ip", "name": "ft", "table": "t", "handle": 0, "hook": "ingress", "prio": 0, "dev": "lo"}}}