2 #include "torture/smbtorture.h"
3 #include "torture/local/proto.h"
5 static bool test_smbtorture_always_pass(struct torture_context
*tctx
)
10 struct torture_suite
*torture_local_smbtorture(TALLOC_CTX
*ctx
)
12 struct torture_suite
*suite
= torture_suite_create(ctx
, "smbtorture");
13 struct torture_suite
*suite_level1
= torture_suite_create(ctx
,
15 struct torture_suite
*suite_level2
= torture_suite_create(ctx
,
17 struct torture_suite
*suite_level3
= torture_suite_create(ctx
,
20 torture_suite_add_suite(suite_level2
, suite_level3
);
21 torture_suite_add_suite(suite_level1
, suite_level2
);
22 torture_suite_add_suite(suite
, suite_level1
);
24 torture_suite_add_simple_test(suite_level3
, "always_pass",
25 test_smbtorture_always_pass
);
27 suite
->description
= talloc_strdup(suite
,
28 "smbtorture multilevel always pass test.");