diff options
author | Noel Power <noel.power@suse.com> | 2018-11-05 14:12:24 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:20 +0100 |
commit | af8077e807d41042229bb3b318b93d1a0d3579b1 (patch) | |
tree | 49e7adb85343fb74516dbc356e5bc30b348e458e /testprogs | |
parent | 6e46d9770edec2fd821df31bfe92937097ba03c6 (diff) | |
download | samba-af8077e807d41042229bb3b318b93d1a0d3579b1.tar.gz |
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>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_samba-tool_ntacl.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/blackbox/test_samba-tool_ntacl.sh b/testprogs/blackbox/test_samba-tool_ntacl.sh index f5387043f43..b00d4f29ac2 100755 --- a/testprogs/blackbox/test_samba-tool_ntacl.sh +++ b/testprogs/blackbox/test_samba-tool_ntacl.sh @@ -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 |