Am 19.12.18 um 06:01 schrieb Antonio Quartulli:
> This patch introduces a new unit test that is not executed
> by the cmocka framework, but rather used by a new t_net.sh
> bash script.
> 
> The idea behind this test is to ensure that invoking sitnl
> functions or running iproute commands leads to the same
> networking (interface and routing table) state.
> 
> To achieve this, the t_net.sh script first runs a binary
> implemented invoking sitnl functions and then takes a
> "screenshot" of the state. Subsequently a series of
> iproute commands, expected to mimic exactly the same behaviour
> as the sitnl functions invoked before, are executed.
> The final state is then compared with the screenshot
> previously taken.
> 
> If no mismatching is found, the test is passed.
> 
> The current unit_test, however, does not cover all the
> sitnl functionalities and it is expected to be extended
> in the future.
> 

I first wanted to make a remark about the usage of seq but trying to run
the test on OpenBSD is pointless anyway, so:

Acked-By: Arne Schwabe <a...@rfc2549.org>



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to