]> git.baikalelectronics.ru Git - kernel.git/commit
blackhole_dev: add a selftest
authorMahesh Bandewar <maheshb@google.com>
Mon, 1 Jul 2019 21:39:01 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2019 02:34:46 +0000 (19:34 -0700)
commit58eb7f29137346ed6617ddefbe739a89d9572a03
tree30d85bf915bacf13f14ea2d3c40bbc68815d799d
parent45f1fa8c0e5bf50c00c86d39bbea5a44fd0fd4ca
blackhole_dev: add a selftest

Since this is not really a device with all capabilities, this test
ensures that it has *enough* to make it through the data path
without causing unwanted side-effects (read crash!).

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/Kconfig.debug
lib/Makefile
lib/test_blackhole_dev.c [new file with mode: 0644]
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/config
tools/testing/selftests/net/test_blackhole_dev.sh [new file with mode: 0755]