summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-11 21:58:29 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-11 21:59:16 +0100
commitfdd7f68660256f7047f01b6fba12b2ab497d571a (patch)
tree5296817cb72183969103e283cdc2eeb0a8489fa2 /source4
parent333870d5a08c2badb7c4f415ba2decc64f3f842c (diff)
downloadsamba-fdd7f68660256f7047f01b6fba12b2ab497d571a.tar.gz
samba-fdd7f68660256f7047f01b6fba12b2ab497d571a.tar.bz2
samba-fdd7f68660256f7047f01b6fba12b2ab497d571a.zip
RAW-SEARCH: skip RESUME_KEY tests against samba3
metze (This used to be commit ca5b37747107bd2941f7415fe609c8293a6b5f7c)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/search.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index 0242b9c545..725ed261aa 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -708,6 +708,16 @@ static bool test_many_files(struct torture_context *tctx,
for (t=0;t<ARRAY_SIZE(search_types);t++) {
ZERO_STRUCT(result);
+
+ if ((search_types[t].cont_type == CONT_RESUME_KEY) &&
+ (search_types[t].data_level != RAW_SEARCH_DATA_SEARCH) &&
+ torture_setting_bool(tctx, "samba3", false)) {
+ torture_comment(tctx,
+ "SKIP: Continue %s via %s\n",
+ search_types[t].name, search_types[t].cont_name);
+ continue;
+ }
+
result.tctx = talloc_new(tctx);
torture_comment(tctx,