From fd5b315805c6c1a4af64e9db57771d864f631207 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 28 Jul 2021 11:57:02 +0200 Subject: [PATCH] s4:selftest: Pass environ to plansmbtorture4testsuite() Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source4/selftest/tests.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 4820af85a85..acf2cf95d35 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -34,9 +34,13 @@ from selftesthelpers import smbtorture4, ntlm_auth3, samba3srcdir print("OPTIONS %s" % " ".join(smbtorture4_options), file=sys.stderr) -def plansmbtorture4testsuite(name, env, options, modname=None): - return selftesthelpers.plansmbtorture4testsuite(name, env, options, - target='samba4', modname=modname) +def plansmbtorture4testsuite(name, env, options, modname=None, environ={}): + return selftesthelpers.plansmbtorture4testsuite(name, + env, + options, + target='samba4', + modname=modname, + environ=environ) samba4srcdir = source4dir()