]> git.ipfire.org Git - thirdparty/iptables.git/commit
tests: xlate: Print failing command line
authorPhil Sutter <phil@nwl.cc>
Sun, 19 Nov 2023 10:23:09 +0000 (11:23 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 23 Nov 2023 16:59:42 +0000 (17:59 +0100)
commit6151cb5f74b9620274ef1374fb3c3c517a6d6a3b
tree2533c52291b2a35cca005339642dd07588912475
parent267f83f5e1b3fb5b82973c154c8b445701be0a58
tests: xlate: Print failing command line

If the command segfaults, 'error' variable is empty and the resulting
error message is even misleading as the called program may not have been
iptables-translate.

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