From e8a2c2fe4e75c2e6a690ea75045942ec9730c5dc Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 28 Jul 2021 11:56:12 +0200 Subject: [PATCH] selftest: Fix setting environ for plansmbtorture4testsuite() Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- selftest/selftesthelpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py index 542737dbd10..0320008faf9 100644 --- a/selftest/selftesthelpers.py +++ b/selftest/selftesthelpers.py @@ -201,7 +201,8 @@ def plansmbtorture4testsuite(name, env, options, target, modname=None, environ={ cmdline = "" if environ: environ = dict(environ) - cmdline = ["%s=%s" % item for item in environ.items()] + cmdline_env = ["%s=%s" % item for item in environ.items()] + cmdline += " ".join(cmdline_env) + " " cmdline += " %s $LISTOPT $LOADLIST %s %s" % (valgrindify(smbtorture4), options, name) plantestsuite_loadlist(modname, env, cmdline)