git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12e15b0
)
smbtorture: Print global options for interactive "list" command.
author
James Peach
<jpeach@samba.org>
Fri, 19 Mar 2010 04:59:35 +0000
(21:59 -0700)
committer
James Peach
<jpeach@apple.com>
Mon, 21 Jun 2010 15:58:10 +0000
(08:58 -0700)
source4/torture/smbtorture.c
patch
|
blob
|
history
diff --git
a/source4/torture/smbtorture.c
b/source4/torture/smbtorture.c
index c1d32a769d738dc464710e38c030d2f85ebc97cb..96014a22066560e741cdd64b767a0e2a170dfb60 100644
(file)
--- a/
source4/torture/smbtorture.c
+++ b/
source4/torture/smbtorture.c
@@
-406,7
+406,9
@@
static void run_shell(struct torture_context *tctx)
print_structured_test_list();
} else if (!strcmp(argv[0], "set")) {
if (argc < 3) {
- fprintf(stderr, "Usage: set <variable> <value>\n");
+ lp_dump(tctx->lp_ctx, stdout,
+ false /* show_defaults */,
+ 0 /* skip services */);
} else {
char *name = talloc_asprintf(NULL, "torture:%s", argv[1]);
lp_set_cmdline(tctx->lp_ctx, name, argv[2]);