diff options
author | Florian Westphal <fw@strlen.de> | 2022-11-30 10:31:54 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-11-30 20:26:32 +0100 |
commit | fb421f13ff411fa83467bae5283194a0a583cf38 (patch) | |
tree | bb652056eff2d08c4142627e9de475aafa994647 /m4 | |
parent | 09d63e818ae0d9a09b3f665b14668beef85c47e9 (diff) |
xlate-test: avoid shell entanglements
Feed the nft expected output found in the .txlate test files to
nft -f via pipe/stdin directly without the shell mangling it.
The shell step isn't needed anymore because xtables-translate no longer
escapes quotes.
We only need to remove the "nft '" and trailing "'" because nft doesn't
expect those.
v3: handle multi-line expectations such as libxt_connlimmit.txlate (Phil Sutter)
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions