Florian Westphal 3f8ec2b8db tests: shell: fix name based checks with CONFIG_MODULES=n
Don't include a trailing space, its only there if nftables is a module:

  hook ingress device foo2 {
     0000000000 chain netdev t c [nf_tables]
  }

with CONFIG_NF_TABLES=y, this gets listed as:
'0000000000 chain netdev t c\n'.

Signed-off-by: Florian Westphal <fw@strlen.de>
2025-10-09 17:46:30 +02:00
..