summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-01-28 23:16:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:18 -0500
commit90ba985c6ba6914f056224574071755977b549f5 (patch)
tree52bee7b9ea50e0b5e010a6878c2d14f5593ba69b /source4/torture/raw
parente6ea227235b694c823a1eb17be3f0bcadc2a74a4 (diff)
downloadsamba-90ba985c6ba6914f056224574071755977b549f5.tar.gz
samba-90ba985c6ba6914f056224574071755977b549f5.tar.bz2
samba-90ba985c6ba6914f056224574071755977b549f5.zip
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)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/search.c2
1 files changed, 1 insertions, 1 deletions
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;