summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-04-12 18:53:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:15 -0500
commitb560bf536154a3bcfbfb8bb2ca5e2f154a6d6dd4 (patch)
tree9e9d50a265cd3616a25ae5324e61341b65746a94 /source4/torture/raw
parentb4d6cbd380b09d0638102137b589555cb4e1c285 (diff)
downloadsamba-b560bf536154a3bcfbfb8bb2ca5e2f154a6d6dd4.tar.gz
samba-b560bf536154a3bcfbfb8bb2ca5e2f154a6d6dd4.tar.bz2
samba-b560bf536154a3bcfbfb8bb2ca5e2f154a6d6dd4.zip
r184: Fix UNIX Search info level. This still needs to be added to the raw
client library before this test can work. Jeremy. (This used to be commit 7b2a2665438a1dbc05053a13f5f84bb56dacd073)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/search.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index 1753d3dd37..c04022b813 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -125,16 +125,18 @@ static BOOL test_one_file(struct cli_state *cli, TALLOC_CTX *mem_ctx)
for (i=0;i<ARRAY_SIZE(levels);i++) {
uint32 cap = cli->transport->negotiate.capabilities;
+ printf("testing %s\n", levels[i].name);
+
levels[i].status = single_search(cli, mem_ctx, fname,
levels[i].level, &levels[i].data);
/* see if this server claims to support this level */
if ((cap & levels[i].capability_mask) != levels[i].capability_mask) {
+ printf("search level %s(%d) not supported by server\n",
+ levels[i].name, (int)levels[i].level);
continue;
}
- printf("testing %s\n", levels[i].name);
-
if (!NT_STATUS_IS_OK(levels[i].status)) {
printf("search level %s(%d) failed - %s\n",
levels[i].name, (int)levels[i].level,