]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: xlate-test: Cleanup file reading loop
authorPhil Sutter <phil@nwl.cc>
Fri, 21 Oct 2022 08:28:09 +0000 (10:28 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 11 Nov 2022 18:14:28 +0000 (19:14 +0100)
commit0d652b8b9ed45d2cfb2e246033cc074faf8aad16
treeb06ca2026b3254a9ccc8eb5f6e3ee37bc5350ebe
parentf30c5edce0413b2b2346c7f58e801f10f6e9bc5a
tests: xlate-test: Cleanup file reading loop

Put the actual translation test into a function to call from the loop
and clean it up a bit. Preparation work for running a second test on the
same data.

Signed-off-by: Phil Sutter <phil@nwl.cc>
xlate-test.py