From: Noel Power Date: Fri, 16 Nov 2018 19:58:50 +0000 (+0000) Subject: python/samba/test: Make sure traffic_replay is called with correct python X-Git-Tag: tdb-1.3.17~439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdf75084e42ee1f9162abe80cd712b3b5392e819;p=thirdparty%2Fsamba.git python/samba/test: Make sure traffic_replay is called with correct python PY3 fix samba4.blackbox.rfc2307_mapping Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/__init__.py b/python/samba/tests/__init__.py index 9b30d2efa1e..a3f0652750d 100644 --- a/python/samba/tests/__init__.py +++ b/python/samba/tests/__init__.py @@ -385,7 +385,7 @@ class BlackboxTestCase(TestCaseInTempDir): cmd = parts[0] exe = os.path.join(BINDIR, cmd) if os.path.exists(exe): - python_cmds = ["samba-tool", "samba_dnsupdate"] + python_cmds = ["samba-tool", "samba_dnsupdate", "script/traffic_replay"] parts[0] = exe if cmd in python_cmds and os.getenv("PYTHON", None): parts.insert(0, os.environ["PYTHON"])