]> granicus.if.org Git - libnl/commit
tests: Add test to {de}activate loopback interface
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Wed, 3 Jan 2018 01:20:44 +0000 (23:20 -0200)
committerThomas Haller <thaller@redhat.com>
Tue, 16 Jan 2018 08:00:28 +0000 (09:00 +0100)
commitd747083a3cca719c94c328c8cf51068aceb03171
treeef74c5c96ab897814c42515d14af616d5d5812c6
parent1e5dd2d886f68e8f598db0fb8ca46b614e1bf28f
tests: Add test to {de}activate loopback interface

This tests is much more like an example of how to do it, and also works
as a test to check if rtnl_link_change is working as expected when it
comes to loopback interface.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
https://github.com/thom311/libnl/pull/161
Makefile.am
tests/test-loopback-up-down.c [new file with mode: 0644]