summaryrefslogtreecommitdiffstats
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-08-13 20:50:53 +0200
commitaa36b04c2ff693c03ce6586a7a41b0fb8e73e4e5 (patch)
treee1bd64ccbfe32b9481fba1ae1dafa2068a721f5a
parent6d305a4c9338c4386aea186744369f97654d900e (diff)
tests: monitor: enclose device names in quotes
commit 26746952952bba8c19aebbd03a55decbc0d0c5fc upstream. 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>
-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"}}}