Test output for zmq
/root/salmonella-run-publish/chicken/bin/csi -script run.scm < /dev/null
-- testing contexts ----------------------------------------------------------
(context? (make-context 1)) .......................................... [ PASS]
(make-context -1) .................................................... [ PASS]
2 tests completed in 0.008 seconds.
2 out of 2 (100%) tests passed.
-- done testing contexts -----------------------------------------------------
-- testing sockets -----------------------------------------------------------
-- testing default-context -----------------------------------------------
(not (zmq-default-context)) ...................................... [ PASS]
(context? (zmq-default-context)) ................................. [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing default-context ------------------------------------------
-- testing options -------------------------------------------------------
(socket-option s 'hwm) ........................................... [ PASS]
(socket-option s 'hwm) ........................................... [ PASS]
(socket-option s 'mcast-loop) .................................... [ PASS]
(socket-option s 'identity) ...................................... [ERROR]
Error: (socket-option) Invalid argument: 22
(number? (socket-fd s)) .......................................... [ PASS]
5 tests completed in 0.001 seconds.
1 error (20.0%).
4 out of 5 (80.0%) tests passed.
-- done testing options --------------------------------------------------
-- testing push/pull -----------------------------------------------------
(receive-message pull) ........................................... [ PASS]
(receive-message pull) ........................................... [ PASS]
(receive-message push) ........................................... [ PASS]
(send-message pull "impossible") ................................. [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing push/pull ------------------------------------------------
-- testing pub/sub -------------------------------------------------------
(receive-message sub) ............................................ [ PASS]
(not (receive-message sub non-blocking: #t)) ..................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing pub/sub --------------------------------------------------
-- testing rep/req -------------------------------------------------------
(receive-message rep) ............................................ [ PASS]
(receive-message req) ............................................ [ PASS]
(receive-message req) ............................................ [ PASS]
(send-message rep "nope") ........................................ [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing rep/req --------------------------------------------------
-- testing non-blocking read ---------------------------------------------
(not (receive-message b non-blocking: #t)) ....................... [ PASS]
(receive-message b non-blocking: #t) ............................. [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing non-blocking read ----------------------------------------
6 subgroups completed in 0.005 seconds.
5 out of 6 (83.3%) subgroups passed.
-- done testing sockets ------------------------------------------------------
-- testing polling -----------------------------------------------------------
(poll pis #f) ........................................................ [ PASS]
(poll pis #t) ........................................................ [ PASS]
(length (filter poll-item-in? pis)) .................................. [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing polling ------------------------------------------------------
-- testing messages ----------------------------------------------------------
(pointer? (car c)) ................................................... [ PASS]
(cdr c) .............................................................. [ PASS]
(receive-message b as: 'blob) ........................................ [ PASS]
(receive-message b) .................................................. [ PASS]
4 tests completed in 0.001 seconds.
4 out of 4 (100%) tests passed.
-- done testing messages -----------------------------------------------------
-- testing receiving messages blockingly without blocking the whole process --
(receive-message* b) ................................................. [ PASS]
1 test completed in 1.002 seconds.
1 out of 1 (100%) test passed.
-- done testing receiving messages blockingly without blocking the whole process