From 90ba985c6ba6914f056224574071755977b549f5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 28 Jan 2005 23:16:19 +0000 Subject: r5068: I'm pretty sure an old search request is allowed to return changed case versions of filenames. Tridge please check I haven't screwed this up. Jeremy. (This used to be commit 40c1e16b5bcdf520db1b514d647a7c7048e13ecc) --- source4/torture/raw/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw/search.c') diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index be54aecb3d..7dd46d51ae 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -682,7 +682,7 @@ static BOOL test_many_files(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) s = result.list[i].search.name; } asprintf(&fname, "t%03d-%d.txt", i, i); - if (strcmp(fname, s)) { + if (strcasecmp(fname, s)) { printf("Incorrect name %s at entry %d\n", s, i); ret = False; break; -- cgit