1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

selftest: Fix setting environ for plansmbtorture4testsuite()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2021-07-28 11:56:12 +02:00 committed by Andreas Schneider
parent d6c7a2a700
commit e8a2c2fe4e

View File

@ -201,7 +201,8 @@ def plansmbtorture4testsuite(name, env, options, target, modname=None, environ={
cmdline = "" cmdline = ""
if environ: if environ:
environ = dict(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) cmdline += " %s $LISTOPT $LOADLIST %s %s" % (valgrindify(smbtorture4), options, name)
plantestsuite_loadlist(modname, env, cmdline) plantestsuite_loadlist(modname, env, cmdline)