summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-10-17 18:22:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:19 -0500
commit67abfc498142f3ea16f682ddf335042be900438a (patch)
tree962379ae46b3b9c4cca9c920d1fd5a1721602b92
parent946225b683e230120e89d15169b1954bd0cfdac2 (diff)
downloadsamba-67abfc498142f3ea16f682ddf335042be900438a.tar.gz
samba-67abfc498142f3ea16f682ddf335042be900438a.tar.bz2
samba-67abfc498142f3ea16f682ddf335042be900438a.zip
r19376: Remove unused helper function.
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
-rw-r--r--source4/torture/subunit.c1
-rw-r--r--source4/torture/ui.c6
-rw-r--r--source4/torture/ui.h3
3 files changed, 1 insertions, 9 deletions
diff --git a/source4/torture/subunit.c b/source4/torture/subunit.c
index 2a1e6e1cb6..3c4790b706 100644
--- a/source4/torture/subunit.c
+++ b/source4/torture/subunit.c
@@ -146,6 +146,7 @@ static void run_subunit_message(struct torture_context *context,
switch (field) {
case SUBUNIT_TEST:
+ test.description = comment;
torture_ui_test_start(context, NULL, &test);
break;
case SUBUNIT_FAILURE:
diff --git a/source4/torture/ui.c b/source4/torture/ui.c
index beb0e8fa9c..3769643a0c 100644
--- a/source4/torture/ui.c
+++ b/source4/torture/ui.c
@@ -374,12 +374,6 @@ struct torture_tcase *torture_suite_add_simple_test(
return tcase;
}
-BOOL torture_teardown_free(struct torture_context *torture, void *data)
-{
- return talloc_free(data);
-}
-
-
bool torture_suite_add_suite(struct torture_suite *suite,
struct torture_suite *child)
{
diff --git a/source4/torture/ui.h b/source4/torture/ui.h
index b145989046..64127fa8d0 100644
--- a/source4/torture/ui.h
+++ b/source4/torture/ui.h
@@ -291,9 +291,6 @@ bool torture_setting_bool(struct torture_context *test,
const char *name,
bool default_value);
-/* Helper function commonly used */
-bool torture_teardown_free(struct torture_context *torture, void *data);
-
struct torture_suite *torture_find_suite(struct torture_suite *parent,
const char *name);