3

For the development of device driver in linux kernel, is there any general-purpose and automated test suite to cover the basic/minimal functionality of a specific kind of device driver? For example, if we test NIC driver, we can make sure that the basic function like send/receive packets and network configuration can be handled in a correct way. As for some unique functions of a specific device driver, we do not need to pay too much attention to it and only assure that its minimal functionality is correct. I assume this kind of test suite should leverage high level applications to verify functional correctness of the device driver instead of low level unit test. Thanks

1 Answer 1

4

Among other things, Autotest is worth looking at. I used the tests it provides to check the drivers related to wireless networking some time ago.

Apart from that, the tests from the Linux Test Project could also be useful here.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.