diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-26 04:47:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:03 -0500 |
commit | 5f0c8df55afd09169a945438088b4da1bf1809bb (patch) | |
tree | 168f7764e90dbbd50bf388110b48db217f759dae /source4 | |
parent | 493fd92b20da2cfd859a061e4bff54e3a0132c13 (diff) | |
download | samba-5f0c8df55afd09169a945438088b4da1bf1809bb.tar.gz samba-5f0c8df55afd09169a945438088b4da1bf1809bb.tar.bz2 samba-5f0c8df55afd09169a945438088b4da1bf1809bb.zip |
r8773: fixed another dependency on directory ordering in RAW-SEARCH
Thanks to andrew bartlett for helping to track this down (his was the
only system that hit this)
(This used to be commit 5edeb56bf0c86dae9cd9fe9275d1e37aedc05503)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/search.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index ee61f605be..d1ea290c62 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -799,6 +799,8 @@ static BOOL test_modify_search(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) CHECK_STATUS(status, NT_STATUS_OK); CHECK_VALUE(result.count, 2); + result.count = 0; + printf("Changing attributes and deleting\n"); smbcli_open(cli->tree, BASEDIR "\\T003-03.txt.2", O_CREAT|O_RDWR, DENY_NONE); smbcli_open(cli->tree, BASEDIR "\\T013-13.txt.2", O_CREAT|O_RDWR, DENY_NONE); @@ -824,7 +826,7 @@ static BOOL test_modify_search(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) status = smb_raw_search_next(cli->tree, mem_ctx, &io2, &result, multiple_search_callback); CHECK_STATUS(status, NT_STATUS_OK); - CHECK_VALUE(result.count, 22); + CHECK_VALUE(result.count, 20); ret &= check_result(&result, "t009-9.txt", True, FILE_ATTRIBUTE_ARCHIVE); ret &= check_result(&result, "t014-14.txt", False, 0); |