Author: tridge Date: 2005-07-26 04:47:16 +0000 (Tue, 26 Jul 2005) New Revision: 8773
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8773 Log: 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) Modified: branches/SAMBA_4_0/source/torture/raw/search.c Changeset: Modified: branches/SAMBA_4_0/source/torture/raw/search.c =================================================================== --- branches/SAMBA_4_0/source/torture/raw/search.c 2005-07-26 03:46:41 UTC (rev 8772) +++ branches/SAMBA_4_0/source/torture/raw/search.c 2005-07-26 04:47:16 UTC (rev 8773) @@ -799,6 +799,8 @@ 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 @@ 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);