]> git.ipfire.org Git - thirdparty/openvpn.git/commit
buffer_list_aggregate_separator(): add unit tests
authorSteffan Karger <steffan.karger@fox-it.com>
Sat, 4 Nov 2017 22:45:50 +0000 (23:45 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 5 Nov 2017 10:00:06 +0000 (11:00 +0100)
commita202f6e74b32beabad764ee4226781a7f7e9c1c6
tree55e539bf57891d97dc515286970d7a36831f5d92
parentb6642f170e38eb2464a6806f91ce8f95e6a4ab99
buffer_list_aggregate_separator(): add unit tests

Before refactoring this function, add tests to verify the new
implementation.

While writing the tests, it became clear that this function is not
behaving very well.  We'll fix that in follow-up commits.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20171104224551.3079-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15748.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 2ddb527abe38f5866ff01e91f8ee89d0f9700762)
tests/unit_tests/openvpn/test_buffer.c