summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-06-13 16:13:32 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-13 16:16:01 +0200
commitafe7949313ba7a4f724ac578770ca5143901eb4a (patch)
treeccf5c913db2554c69144fae6ed526f263f2aba80
parenta88bbaf6706d6e5902839dfa395641500b5c4064 (diff)
downloadsamba-afe7949313ba7a4f724ac578770ca5143901eb4a.tar.gz
samba-afe7949313ba7a4f724ac578770ca5143901eb4a.tar.bz2
samba-afe7949313ba7a4f724ac578770ca5143901eb4a.zip
smbtorture: Remove unused 'quiet' output format.
-rw-r--r--source4/torture/smbtorture.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index d01dc9a856..811f8768d9 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -367,40 +367,6 @@ const static struct torture_ui_ops std_ui_ops = {
};
-static void quiet_suite_start(struct torture_context *ctx,
- struct torture_suite *suite)
-{
- int i;
- ctx->results->quiet = true;
- for (i = 1; i < ctx->level; i++) putchar('\t');
- printf("%s: ", suite->name);
- fflush(stdout);
-}
-
-static void quiet_suite_finish(struct torture_context *ctx,
- struct torture_suite *suite)
-{
- putchar('\n');
-}
-
-static void quiet_test_result(struct torture_context *context,
- enum torture_result res, const char *reason)
-{
- fflush(stdout);
- switch (res) {
- case TORTURE_OK: putchar('.'); break;
- case TORTURE_FAIL: putchar('F'); break;
- case TORTURE_ERROR: putchar('E'); break;
- case TORTURE_SKIP: putchar('I'); break;
- }
-}
-
-const static struct torture_ui_ops quiet_ui_ops = {
- .suite_start = quiet_suite_start,
- .suite_finish = quiet_suite_finish,
- .test_result = quiet_test_result
-};
-
static void run_shell(struct torture_context *tctx)
{
char *cline;
@@ -624,8 +590,6 @@ int main(int argc,char *argv[])
ui_ops = &std_ui_ops;
} else if (!strcmp(ui_ops_name, "subunit")) {
ui_ops = &torture_subunit_ui_ops;
- } else if (!strcmp(ui_ops_name, "quiet")) {
- ui_ops = &quiet_ui_ops;
} else {
printf("Unknown output format '%s'\n", ui_ops_name);
exit(1);