summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-05-18 12:02:22 +0200
committerRalph Boehme <slow@samba.org>2017-07-03 19:59:07 +0200
commit9b1c7794478e397d99e14d1a2970c93df846d987 (patch)
treef997930c27205c0ec6bbb3e578072751f2f7d9bd
parent12a3eb7b5e9a2fd9f5d03a6e80e5f33fcfd3b811 (diff)
downloadsamba-9b1c7794478e397d99e14d1a2970c93df846d987.tar.gz
lib/util: adjust loglevel in tfork test with samba_runcmd_send()
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>
-rw-r--r--lib/util/tests/tfork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/tests/tfork.c b/lib/util/tests/tfork.c
index 2f140dd6ef0..2bb941d8664 100644
--- 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");