summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-11-16 19:32:31 +0000
committerNoel Power <npower@samba.org>2018-12-10 10:38:20 +0100
commit3519fcb9b79c2af38a1225bdcda742f6812ec545 (patch)
tree3f775316d763cc10a19c5c6dadf2dd84cd650125 /source4
parent277dbd9cffbcb5f7be3818ac34f95ac03a9f7a09 (diff)
downloadsamba-3519fcb9b79c2af38a1225bdcda742f6812ec545.tar.gz
s4/utils/test: PY3 make sure we call correct python version for samba-tool
fixes samba4.blackbox.samba_tool blackbox test Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/utils/tests/test_samba_tool.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/utils/tests/test_samba_tool.sh b/source4/utils/tests/test_samba_tool.sh
index 289a753b668..57dcb992f7b 100755
--- a/source4/utils/tests/test_samba_tool.sh
+++ b/source4/utils/tests/test_samba_tool.sh
@@ -34,12 +34,12 @@ testit "Test login with --machine-pass without kerberos" $VALGRIND $smbclient -c
testit "Test login with --machine-pass and kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp --machine-pass -k yes
-testit "time" $VALGRIND $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
+testit "time" $VALGRIND $PYTHON $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
-testit "domain level.show" $VALGRIND $samba_tool domain level show
+testit "domain level.show" $VALGRIND $PYTHON $samba_tool domain level show
-testit "domain info" $VALGRIND $samba_tool domain info $SERVER_IP
+testit "domain info" $VALGRIND $PYTHON $samba_tool domain info $SERVER_IP
-testit "fsmo show" $VALGRIND $samba_tool fsmo show
+testit "fsmo show" $VALGRIND $PYTHON $samba_tool fsmo show
exit $failed