[PATCH] python: Write py3 bin to correct args location

David Mulder dmulder at suse.com
Tue Feb 13 15:43:32 UTC 2018

This is causing all python3 tests to fail that pass in env vars.

Comands written like this were working:
python /home/dmulder/code/samba/source4/scripting/bin/subunitrun
Changed to:
/usr/bin/python3 /home/dmulder/code/samba/source4/scripting/bin/subunitrun

But commands with env args overwrite the wrong arg:
Changed to:
/usr/bin/python3 SOCKET_WRAPPER_DEFAULT_IFACE=11 python
And were further mangled in plantestsuite_loadlist() to:

Please review and merge. Thanks!

 source4/selftest/tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

David Mulder
SUSE Labs Software Engineer - Samba
dmulder at suse.com
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-Write-py3-bin-to-correct-args-location.patch
Type: text/x-patch
Size: 1604 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180213/abf0377b/0001-python-Write-py3-bin-to-correct-args-location.bin>

More information about the samba-technical mailing list