]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: xlate: Properly split input in replay mode
authorPhil Sutter <phil@nwl.cc>
Fri, 3 Feb 2023 17:48:33 +0000 (18:48 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 17 Feb 2023 17:18:48 +0000 (18:18 +0100)
commit914350a4586d2817ca7c4919c53142562f27bdaf
tree9fa97e1ea7ac2c0c84ea3345b705c2045cf33bcd
parente69c2b467d7567027db14d48570fe277495ed52f
tests: xlate: Properly split input in replay mode

Source command may contain quotes, using shlex.split() does the right
thing there.

Fixes: 7705b2daa3bdc ("tests: xlate: Use --check to verify replay")
Signed-off-by: Phil Sutter <phil@nwl.cc>
xlate-test.py