r4317: check the count of replies in the os2 ea_list torture test
authorAndrew Tridgell <tridge@samba.org>
Tue, 21 Dec 2004 11:48:13 +0000 (11:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:33 +0000 (13:07 -0500)
(This used to be commit 10861b3fa0cbba7f5e0ec3377431a85608a13a32)

source4/torture/raw/search.c

index ada71f3ee74bda5871557d4d8eed59e5f5e11dd0..5064c1a061937ede27725194ada2ee0957f90db0 100644 (file)
@@ -1241,6 +1241,7 @@ static BOOL test_ea_list(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
        status = smb_raw_search_first(cli->tree, mem_ctx,
                                      &io, &result, multiple_search_callback);
        CHECK_STATUS(status, NT_STATUS_OK);
+       CHECK_VALUE(result.count, 2);
 
        nxt.t2fnext.level = RAW_SEARCH_EA_LIST;
        nxt.t2fnext.in.handle = io.t2ffirst.out.handle;