summaryrefslogtreecommitdiff
path: root/source4/torture/masktest.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-10-25 11:53:53 +0200
committerRalph Boehme <slow@samba.org>2017-01-22 18:30:12 +0100
commitf969be54417a0d4d2bab0f854ce1c9f9d4639711 (patch)
treee542d9409e8d21f43c71f47413da9e70b42b90ee /source4/torture/masktest.c
parent07d9a909ba6853fb0b96f6d86e4cf0d5d1b35b28 (diff)
downloadsamba-f969be54417a0d4d2bab0f854ce1c9f9d4639711.tar.gz
lib: Add "is_case_sensitive" to ms_fnmatch_protocol
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source4/torture/masktest.c')
-rw-r--r--source4/torture/masktest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index b96c6dabbe5..e6e7f4e4245 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -49,7 +49,8 @@ static bool reg_match_one(struct smbcli_state *cli, const char *pattern, const c
if (ISDOTDOT(file)) file = ".";
- return ms_fnmatch_protocol(pattern, file, cli->transport->negotiate.protocol)==0;
+ return ms_fnmatch_protocol(
+ pattern, file, cli->transport->negotiate.protocol, true)==0;
}
static char *reg_test(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *pattern, const char *long_name, const char *short_name)