summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_trust_utils.sh
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-10-10 17:14:39 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-11-14 05:07:16 +0100
commit0ef6e3da4b6dd8e36ced3ad344f9981901aaa2f2 (patch)
tree3fafd77750a4fe414ab3bff8a7dd56270b2f4319 /testprogs/blackbox/test_trust_utils.sh
parent5b4c664856602e411bf2897e44e5453c7831035f (diff)
downloadsamba-0ef6e3da4b6dd8e36ced3ad344f9981901aaa2f2.tar.gz
testprogs/blackbox: PY3 bulk change for python scripts use correct python
Change all instance where python scripts are called so that the correct python version as specified by $PYTHON is used Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'testprogs/blackbox/test_trust_utils.sh')
-rwxr-xr-xtestprogs/blackbox/test_trust_utils.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/testprogs/blackbox/test_trust_utils.sh b/testprogs/blackbox/test_trust_utils.sh
index 85f4da181f7..ddc7097c93f 100755
--- a/testprogs/blackbox/test_trust_utils.sh
+++ b/testprogs/blackbox/test_trust_utils.sh
@@ -35,23 +35,23 @@ CREDS="${DOMAIN}\\${USERNAME}%${PASSWORD}"
TRUST_CREDS="${TRUST_DOMAIN}\\${TRUST_USERNAME}%${TRUST_PASSWORD}"
TRUST_SERVER_CREDS_ARGS="--local-dc-ipaddress ${TRUST_SERVER} --local-dc-username ${TRUST_CREDS}"
-list="$VALGRIND $samba_tool domain trust list"
+list="$VALGRIND $PYTHON $samba_tool domain trust list"
testit "list domains default" $list || failed=`expr $failed + 1`
testit "list domains reverse" $list ${TRUST_SERVER_CREDS_ARGS} || failed=`expr $failed + 1`
-show="$VALGRIND $samba_tool domain trust show"
+show="$VALGRIND $PYTHON $samba_tool domain trust show"
testit "show domains default realm" $show ${TRUST_REALM} || failed=`expr $failed + 1`
testit "show domains reverse realm" $show ${REALM} ${TRUST_SERVER_CREDS_ARGS} || failed=`expr $failed + 1`
testit "show domains default netbios" $show ${TRUST_DOMAIN} || failed=`expr $failed + 1`
testit "show domains reverse netbios" $show ${DOMAIN} ${TRUST_SERVER_CREDS_ARGS} || failed=`expr $failed + 1`
-validate="$VALGRIND $samba_tool domain trust validate"
+validate="$VALGRIND $PYTHON $samba_tool domain trust validate"
testit "validate trust default both" $validate ${TRUST_REALM} -U${TRUST_CREDS}|| failed=`expr $failed + 1`
testit "validate trust default local" $validate ${TRUST_REALM} --validate-location=local || failed=`expr $failed + 1`
testit "validate trust reverse both" $validate ${REALM} ${TRUST_SERVER_CREDS_ARGS} -U${CREDS} || failed=`expr $failed + 1`
testit "validate trust reverse local" $validate ${REALM} ${TRUST_SERVER_CREDS_ARGS} --validate-location=local || failed=`expr $failed + 1`
-namespaces="$VALGRIND $samba_tool domain trust namespaces"
+namespaces="$VALGRIND $PYTHON $samba_tool domain trust namespaces"
testit "namespaces own default" $namespaces || failed=`expr $failed + 1`
testit "namespaces own reverse" $namespaces ${TRUST_SERVER_CREDS_ARGS} || failed=`expr $failed + 1`