From: Ralph Boehme Date: Thu, 18 May 2017 10:02:22 +0000 (+0200) Subject: lib/util: adjust loglevel in tfork test with samba_runcmd_send() X-Git-Tag: samba-4.7.0rc1~48 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=9b1c7794478e397d99e14d1a2970c93df846d987;p=samba.git 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 Reviewed-by: Stefan Metzmacher --- 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");