From 26746952952bba8c19aebbd03a55decbc0d0c5fc Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 10 Jul 2025 02:53:50 +0200 Subject: [PATCH] tests: monitor: enclose device names in quotes 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 --- tests/monitor/testcases/flowtable-simple.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}}} -- 2.39.5