Skip to content

Commit

Permalink
s4/utils/test: PY3 make sure we call correct python version for samba…
Browse files Browse the repository at this point in the history
…-tool

fixes samba4.blackbox.samba_tool blackbox test

Signed-off-by: Noel Power <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
noelpower authored and Noel Power committed Dec 10, 2018
1 parent 277dbd9 commit 3519fcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source4/utils/tests/test_samba_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3519fcb

Please sign in to comment.