1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

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>
This commit is contained in:
Noel Power 2018-11-16 19:32:31 +00:00 committed by Noel Power
parent 277dbd9cff
commit 3519fcb9b7

View File

@ -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