1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

testprogs/blackbox: make sure samba-tool is called with correct python

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-05 14:12:24 +00:00 committed by Noel Power
parent 6e46d9770e
commit af8077e807

View File

@ -31,7 +31,7 @@ test_get_acl()
testfile="$1"
exptextedacl="$2"
retacl=$($samba_tool ntacl get "$testfile" --as-sddl) || return $?
retacl=$($PYTHON $samba_tool ntacl get "$testfile" --as-sddl) || return $?
test "$retacl" = "$exptextedacl"
}
@ -41,7 +41,7 @@ test_set_acl()
testfile="$1"
acl="$2"
$samba_tool ntacl set "$acl" "$testfile"
$PYTHON $samba_tool ntacl set "$acl" "$testfile"
}
# work around include error - s4-loadparm does not allow missing include files