diff options
author | Jeremy Allison <jra@samba.org> | 2005-10-31 20:11:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-10-31 20:11:58 +0000 |
commit | e0cb970184306aeec21705e13f37005f7ec71c52 (patch) | |
tree | 090517ee8003886fff00d76bbeb8a8d67440a6d9 /source/torture | |
parent | a525778cdb18b3d6c53b0ad3c1f0570a1c690a79 (diff) | |
download | samba-e0cb970184306aeec21705e13f37005f7ec71c52.tar.gz samba-e0cb970184306aeec21705e13f37005f7ec71c52.tar.xz samba-e0cb970184306aeec21705e13f37005f7ec71c52.zip |
r11420: Fix issue pointed out by Dina Fine <dina@exanet.com>. We can
only tell at parse time from the wire if an incoming name
has wildcards or not. If it's a mangled name and we demangle
the demangled name may contain wildcard characters. Ensure
these are ignored.
Jeremy.
Diffstat (limited to 'source/torture')
-rw-r--r-- | source/torture/torture.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c index 8ad567f1778..0bd9aa1728b 100644 --- a/source/torture/torture.c +++ b/source/torture/torture.c @@ -4424,6 +4424,9 @@ static BOOL run_eatest(int dummy) /* Setting EA's to zero length deletes them. Test this */ printf("Now deleting all EA's - case indepenent....\n"); +#if 1 + cli_set_ea_path(cli, fname, "", "", 0); +#else for (i = 0; i < 20; i++) { fstring ea_name; slprintf(ea_name, sizeof(ea_name), "ea_%d", i); @@ -4432,7 +4435,8 @@ static BOOL run_eatest(int dummy) return False; } } - +#endif + if (!cli_get_ea_list_path(cli, fname, mem_ctx, &num_eas, &ea_list)) { printf("ea_get list failed - %s\n", cli_errstr(cli)); correct = False; |