From: Pablo Neira Ayuso Date: Thu, 10 Jul 2025 00:53:50 +0000 (+0200) Subject: tests: monitor: enclose device names in quotes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fnftables.git 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 --- 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"}}}