summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-11-16 19:44:08 +0000
committerNoel Power <npower@samba.org>2018-12-10 10:38:20 +0100
commit277dbd9cffbcb5f7be3818ac34f95ac03a9f7a09 (patch)
treec897484fbea2c3c1d76b7d01ad0b9122d66db1e3 /nsswitch
parentaf8077e807d41042229bb3b318b93d1a0d3579b1 (diff)
downloadsamba-277dbd9cffbcb5f7be3818ac34f95ac03a9f7a09.tar.gz
nsswitch/tests: PY3 samba_tool call correct python
fix samba4.blackbox.rfc2307_mapping Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'nsswitch')
-rwxr-xr-xnsswitch/tests/test_rfc2307_mapping.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/nsswitch/tests/test_rfc2307_mapping.sh b/nsswitch/tests/test_rfc2307_mapping.sh
index 4fd93a4ddaf..8ab814cd7d0 100755
--- a/nsswitch/tests/test_rfc2307_mapping.sh
+++ b/nsswitch/tests/test_rfc2307_mapping.sh
@@ -62,10 +62,10 @@ knownfail() {
# Create new testing account
-testit "user add" $samba_tool user create --given-name="rfc2307" --surname="Tester" --initial="UT" rfc2307_test_user testp@ssw0Rd $@
+testit "user add" $PYTHON $samba_tool user create --given-name="rfc2307" --surname="Tester" --initial="UT" rfc2307_test_user testp@ssw0Rd $@
#test creation of six different groups
-testit "group add" $samba_tool group add $CONFIG --group-scope='Domain' --group-type='Security' rfc2307_test_group $@
+testit "group add" $PYTHON $samba_tool group add $CONFIG --group-scope='Domain' --group-type='Security' rfc2307_test_group $@
# Create new testing group
@@ -180,7 +180,7 @@ else
echo "success: wbinfo -Y check for sane mapping"
fi
-testit "group delete" $samba_tool group delete rfc2307_test_group $@
-testit "user delete" $samba_tool user delete rfc2307_test_user $@
+testit "group delete" $PYTHON $samba_tool group delete rfc2307_test_group $@
+testit "user delete" $PYTHON $samba_tool user delete rfc2307_test_user $@
exit $failed