From: Phil Sutter Date: Thu, 23 Aug 2018 15:43:21 +0000 (+0200) Subject: xlate-test: Fix for calling wrong command name X-Git-Tag: v1.8.1~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f5b28acf21a0bd413c3295d951e25d5988b8844;p=thirdparty%2Fiptables.git xlate-test: Fix for calling wrong command name Aparently, this is a leftover from the compat->nft naming change in created binary (symlinks). Fixes: be70918eab26e ("xtables: rename xt-multi binaries to -nft, -legacy") Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- diff --git a/xlate-test.py b/xlate-test.py index 803c5b7a..f365a700 100755 --- a/xlate-test.py +++ b/xlate-test.py @@ -40,7 +40,7 @@ def run_test(name, payload): for line in payload: if line.startswith(keywords): tests += 1 - process = Popen([ os.path.abspath(os.path.curdir) + "/iptables/xtables-compat-multi" ] + shlex.split(line), stdout=PIPE, stderr=PIPE) + process = Popen([ os.path.abspath(os.path.curdir) + "/iptables/xtables-nft-multi" ] + shlex.split(line), stdout=PIPE, stderr=PIPE) (output, error) = process.communicate() if process.returncode == 0: translation = output.decode("utf-8").rstrip(" \n")