From d3400402d57eaaf56c8436aafd92d9768eee31e7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 28 Jan 2007 13:14:52 +0000 Subject: r21040: Remove subunit runner (now written in perl in my perlselftest branch) (This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480) --- source4/torture/smbtorture.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'source4/torture/smbtorture.c') diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 016f3e603e..210149215b 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -326,7 +326,7 @@ const static struct torture_ui_ops std_ui_ops = { static void subunit_suite_start(struct torture_context *ctx, struct torture_suite *suite) { - printf("testsuite: %s\n", suite->path); + printf("testsuite: %s\n", suite->name); } static void subunit_test_start (struct torture_context *ctx, @@ -499,7 +499,6 @@ int main(int argc,char *argv[]) char **argv_new; poptContext pc; static const char *target = "other"; - const char **subunit_dir; struct dcerpc_binding *binding_struct; NTSTATUS status; int shell = False; @@ -608,14 +607,6 @@ int main(int argc,char *argv[]) return 0; } - subunit_dir = lp_parm_string_list(-1, "torture", "subunitdir", ":"); - if (subunit_dir == NULL) - torture_subunit_load_testsuites(dyn_TORTUREDIR, true, NULL); - else { - for (i = 0; subunit_dir[i]; i++) - torture_subunit_load_testsuites(subunit_dir[i], true, NULL); - } - if (torture_seed == 0) { torture_seed = time(NULL); } -- cgit