summaryrefslogtreecommitdiff
path: root/source3/torture/test_messaging_read.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-09-23 09:52:16 +0200
committerMichael Adam <obnox@samba.org>2014-09-24 11:09:43 +0200
commit5d22bcf160bc6baf94d0d8de6dddbb15dfefe2ce (patch)
tree34e9a0c4be172a9f35385fbbf7acf42f359d5fe0 /source3/torture/test_messaging_read.c
parentdb384efa40a7f688cb9cbedae1b214555b4f9eed (diff)
downloadsamba-5d22bcf160bc6baf94d0d8de6dddbb15dfefe2ce.tar.gz
s3:torture: in LOCAL-MESSAGING-READ3, print some messages to child
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Sep 24 11:09:43 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/torture/test_messaging_read.c')
-rw-r--r--source3/torture/test_messaging_read.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/torture/test_messaging_read.c b/source3/torture/test_messaging_read.c
index a51ae4f1b3b..ef054ed47ab 100644
--- a/source3/torture/test_messaging_read.c
+++ b/source3/torture/test_messaging_read.c
@@ -339,6 +339,9 @@ static void ping_responder_exit(struct tevent_context *ev,
void *private_data)
{
bool *done = private_data;
+
+ printf("Child: received write on exit-pipe\n");
+
*done = true;
}
@@ -381,6 +384,8 @@ static void ping_responder(int ready_pipe, int exit_pipe)
}
}
+ printf("Child: done, exiting...\n");
+
TALLOC_FREE(msg_ctx);
TALLOC_FREE(ev);
}