python/samba.tests: Ensure samba-tool is called with correct python ver.
authorNoel Power <noel.power@suse.com>
Fri, 2 Nov 2018 15:42:11 +0000 (15:42 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:20 +0000 (10:38 +0100)
commit6e46d9770edec2fd821df31bfe92937097ba03c6
tree958c327f683e1a61d0c2055967f8392547343f60
parent7d271450f71a168898482d8c8a0f1f6bbf875804
python/samba.tests: Ensure samba-tool is called with correct python ver.

* remove unnecessary 'bin/' part of path as base BlackBox class
  will do this anyway and also ensure correct detection that
  command needs to have 'PYTHON=blah' addeded
* modify shell script so PYTHON variable if set is prepended

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/blackbox/bug13653.py
python/samba/tests/test_pam_winbind_chauthtok.sh