diff options
author | Jeremy Allison <jra@samba.org> | 2005-10-31 20:11:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:15 -0500 |
commit | 6baec64a7370ff1871f0b806a623b1fc1a898acb (patch) | |
tree | bd4ac368bbc4deaabab528f5ef7ea7214c764042 /source3/torture | |
parent | 7ec71aa20d43fd45dd9321e42ada93ee10fd1d45 (diff) | |
download | samba-6baec64a7370ff1871f0b806a623b1fc1a898acb.tar.gz samba-6baec64a7370ff1871f0b806a623b1fc1a898acb.tar.bz2 samba-6baec64a7370ff1871f0b806a623b1fc1a898acb.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.
(This used to be commit 4cd8e2a96b98ff711905e8c6f416b22440c16062)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 8ad567f177..0bd9aa1728 100644 --- a/source3/torture/torture.c +++ b/source3/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; |