]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xlate-test: Fix for calling wrong command name
authorPhil Sutter <phil@nwl.cc>
Thu, 23 Aug 2018 15:43:21 +0000 (17:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Aug 2018 08:05:51 +0000 (10:05 +0200)
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 <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
xlate-test.py

index 803c5b7a2ab40e7df5ddda5b04c09084dbc655a1..f365a700bdf537d9ac86eb624ec5e7cf1c1a106f 100755 (executable)
@@ -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")