summaryrefslogtreecommitdiffstats
path: root/tests/lib/test_zmq.refout
diff options
context:
space:
mode:
authorßingen <bingen@voltanet.io>2017-11-09 16:02:18 +0100
committerßingen <bingen@voltanet.io>2017-11-23 12:50:27 +0100
commitafd0f10d6350b9753ad6d00a760fce150d90bbf1 (patch)
tree1fdff338f94f546338a04a5dfcc65209e73a8158 /tests/lib/test_zmq.refout
parentMerge pull request #1391 from LabNConsulting/working/master/patch-set/vnc-vrf... (diff)
downloadfrr-afd0f10d6350b9753ad6d00a760fce150d90bbf1.tar.xz
frr-afd0f10d6350b9753ad6d00a760fce150d90bbf1.zip
lib: Address ZMQ lib TODOs
Add write callback. Add error callback. Add frrzmq_check_events() function to check for edge triggered things that may have happened after a zmq_send() call or so. Update ZMQ tests. Signed-off-by: ßingen <bingen@voltanet.io>
Diffstat (limited to 'tests/lib/test_zmq.refout')
-rw-r--r--tests/lib/test_zmq.refout49
1 files changed, 33 insertions, 16 deletions
diff --git a/tests/lib/test_zmq.refout b/tests/lib/test_zmq.refout
index 61f45f02b..acac50553 100644
--- a/tests/lib/test_zmq.refout
+++ b/tests/lib/test_zmq.refout
@@ -11,40 +11,57 @@ client send: msg #3 def
server recv: msg #3 def
client recv: MSG #3 DEF
client send: msg #4 efg
-server recv part 0 (more: 0): msg #4 efg
+server recv part 2 (more: 0): msg #4 efg
client recv: MSG #4 EFG
+client recv: msg# was 2
client send: msg #5 fgh
-client recv: msg# was 0
+server recv part 2 (more: 0): msg #5 fgh
+client recv: MSG #5 FGH
+client recv: msg# was 2
client send: msg #6 ghi
-server recv part 0 (more: 0): msg #6 ghi
+server recv part 2 (more: 0): msg #6 ghi
client recv: MSG #6 GHI
+client recv: msg# was 2
client send: msg #7 hij
-client recv: msg# was 0
+server recv part 2 (more: 0): msg #7 hij
+client recv: MSG #7 HIJ
+client recv: msg# was 2
---
client send: part 1/2
client send: part 2/2
-server recv part 0 (more: 1): part 1/2
-server recv part 1 (more: 0): part 2/2
+server recv part 2 (more: 1): part 1/2
+server recv part 3 (more: 0): part 2/2
+client recv (more: 1): PART 1/2
client recv (more: 1): PART 2/2
-client recv (more: 0): msg# was 1
+client recv (more: 0): msg# was 3
---
client send: part 1/3
client send: part 2/3
client send: part 3/3
-server recv part 0 (more: 1): part 1/3
-server recv part 1 (more: 1): part 2/3
-server recv part 2 (more: 0): part 3/3
+server recv part 2 (more: 1): part 1/3
+server recv part 3 (more: 1): part 2/3
+server recv part 4 (more: 0): part 3/3
+client recv (more: 1): PART 1/3
+client recv (more: 1): PART 2/3
client recv (more: 1): PART 3/3
-client recv (more: 0): msg# was 2
+client recv (more: 0): msg# was 4
---
client send: part 1/4
client send: part 2/4
client send: part 3/4
client send: part 4/4
-server recv part 0 (more: 1): part 1/4
-server recv part 1 (more: 1): part 2/4
-server recv part 2 (more: 1): part 3/4
-server recv part 3 (more: 0): part 4/4
+server recv part 2 (more: 1): part 1/4
+server recv part 3 (more: 1): part 2/4
+server recv part 4 (more: 1): part 3/4
+server recv part 5 (more: 0): part 4/4
+client recv (more: 1): PART 1/4
+client recv (more: 1): PART 2/4
+client recv (more: 1): PART 3/4
client recv (more: 1): PART 4/4
-client recv (more: 0): msg# was 3
+client recv (more: 0): msg# was 5
+---
+client send: Done receiving
+server recv: Done receiving
+server send: TEST WRITE CALLBACK
+client recv: TEST WRITE CALLBACK
child exited.