From: Noel Power Date: Fri, 16 Nov 2018 19:44:08 +0000 (+0000) Subject: nsswitch/tests: PY3 samba_tool call correct python X-Git-Tag: tdb-1.3.17~466 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=277dbd9cffbcb5f7be3818ac34f95ac03a9f7a09;p=thirdparty%2Fsamba.git nsswitch/tests: PY3 samba_tool call correct python fix samba4.blackbox.rfc2307_mapping Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- 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