Branch: refs/heads/master
Home:
https://github.com/kronosnet/kronosnet
Commit: 0a4394fa2491aa5fa6c8338786b81b45c76a43d7
https://github.com/kronosnet/kronosnet/commit/0a4394fa2491aa5fa6c8338786b81…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Report ENAMETOOLONG if socket buffers are too small
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 2d5eabd79494390663654b14b858dab1a340202b
https://github.com/kronosnet/kronosnet/commit/2d5eabd79494390663654b14b858d…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
tests: introduce knet_handle_start helper
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 1fcf7db2e51511297461f588ebd0361b0a4ce70e
https://github.com/kronosnet/kronosnet/commit/1fcf7db2e51511297461f588ebd03…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
Log Message:
-----------
tests: replace open coded error handling with knet_handle_start() calls
Done by:
$ sed -i -e '1h;2,$H;$!d;g' -e 's/knet_h = knet_handle_new(1, logfds\[1\],
\(KNET_LOG_[A-Z]*\));\n\n\tif (!knet_h) {\n\t\tprintf("knet_handle_new failed:
%s\\n", strerror(errno));\n\t\tflush_logs(logfds\[0\],
stdout);\n\t\tclose_logpipes(logfds);\n\t\texit(FAIL);\n\t}/knet_h =
knet_handle_start(logfds, \1);/g' libknet/tests/*.c
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: c39a04241e50e12d05b733459f2356fcaf1ccf4a
https://github.com/kronosnet/kronosnet/commit/c39a04241e50e12d05b733459f235…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/api_knet_handle_new.c
M libknet/tests/test-common.c
Log Message:
-----------
tests: skip if socket buffers are too small
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 7b68785932db698cd5a2b7d382eb1e4315f3da93
https://github.com/kronosnet/kronosnet/commit/7b68785932db698cd5a2b7d382eb1…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
More fine-grained error handling
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: a31858b1b60efd661fb33e3a9ac29cef8125532a
https://github.com/kronosnet/kronosnet/commit/a31858b1b60efd661fb33e3a9ac29…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/libknet.h
Log Message:
-----------
Document knet-specific errno values
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 0ac5df44c184efe5f57dd0d929769b7644904335
https://github.com/kronosnet/kronosnet/commit/0ac5df44c184efe5f57dd0d929769…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Anything that stops operation and returns an error should be log_err
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: de6bac3137eb4ecd3824ac371333298bdf062033
https://github.com/kronosnet/kronosnet/commit/de6bac3137eb4ecd3824ac3713332…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Remove spaces after function names
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 4d3686398d6686fdc93596db8af92904ead740cd
https://github.com/kronosnet/kronosnet/commit/4d3686398d6686fdc93596db8af92…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/libknet.h
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
M libknet/transport_common.c
Log Message:
-----------
Merge pull request #99 from kronosnet/skip
Skip tests if socket buffers are inadequate
Compare:
https://github.com/kronosnet/kronosnet/compare/f8465e758969...4d3686398d66