Branch: refs/heads/skip
Home:
https://github.com/kronosnet/kronosnet
Commit: 603f18d092ff0b957f85cb14a39d93667193ba20
https://github.com/kronosnet/kronosnet/commit/603f18d092ff0b957f85cb14a39d9…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-18 (Mon, 18 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: 4c56ccb327e94adf7fdceff51a78ada4b3278bb5
https://github.com/kronosnet/kronosnet/commit/4c56ccb327e94adf7fdceff51a78a…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-18 (Mon, 18 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: 0509c442c950da9550fdf14714cb8d518101c1ed
https://github.com/kronosnet/kronosnet/commit/0509c442c950da9550fdf14714cb8…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-18 (Mon, 18 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: ccc9b19e051d9bf4c59ca33c9c2fa4050e53c3ec
https://github.com/kronosnet/kronosnet/commit/ccc9b19e051d9bf4c59ca33c9c2fa…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-18 (Mon, 18 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>
Compare:
https://github.com/kronosnet/kronosnet/compare/88dda6d2c0a3...ccc9b19e051d