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

github at samba.org github at samba.org
Fri Mar 23 14:22:35 UTC 2018


There is a new pull request by dmulder against master on the Samba Samba Github repository

https://github.com/dmulder/samba python3_ports_subunitrun_args
https://github.com/samba-team/samba/pull/149

python: Write py3 bin to correct args location
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:
CLIENT_IP=127.0.0.11 SOCKET_WRAPPER_DEFAULT_IFACE=11 python /home/dmulder/code/samba/source4/scripting/bin/subunitrun
Changed to:
/usr/bin/python3 SOCKET_WRAPPER_DEFAULT_IFACE=11 python /home/dmulder/code/samba/source4/scripting/bin/subunitrun
And were further mangled in plantestsuite_loadlist() to:
/usr/bin/python3 /home/dmulder/code/samba/source4/scripting/bin/subunitrun SOCKET_WRAPPER_DEFAULT_IFACE=11 python /home/dmulder/code/samba/source4/scripting/bin/subunitrun

Signed-off-by: David Mulder <dmulder at suse.com>

A patch file from https://github.com/samba-team/samba/pull/149.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-python3_ports_subunitrun_args-149.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180323/574d8f74/github-pr-python3_ports_subunitrun_args-149.patch>


More information about the samba-technical mailing list