git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12a3eb7
)
lib/util: adjust loglevel in tfork test with samba_runcmd_send()
author
Ralph Boehme
<slow@samba.org>
Thu, 18 May 2017 10:02:22 +0000
(12:02 +0200)
committer
Ralph Boehme
<slow@samba.org>
Mon, 3 Jul 2017 17:59:07 +0000
(19:59 +0200)
No change in behaviour, this just ensures stdout and stderror are
logged with log level 0.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/util/tests/tfork.c
patch
|
blob
|
history
diff --git
a/lib/util/tests/tfork.c
b/lib/util/tests/tfork.c
index 2f140dd6ef0dc735cffaff063233329b8313ae9b..2bb941d8664d3a3694a75fbc7d79ff76baef2376 100644
(file)
--- a/
lib/util/tests/tfork.c
+++ b/
lib/util/tests/tfork.c
@@
-103,7
+103,7
@@
static bool test_tfork_cmd_send(struct torture_context *tctx)
torture_assert_goto(tctx, cmd[0] != NULL, ok, done,
"talloc_asprintf failed\n");
- req = samba_runcmd_send(tctx, ev, timeval_zero(),
1
, 0,
+ req = samba_runcmd_send(tctx, ev, timeval_zero(),
0
, 0,
cmd, "foo", NULL);
torture_assert_goto(tctx, req != NULL, ok, done,
"samba_runcmd_send failed\n");