I am into testing a set of APIs being developed as a layer in various linux
device drivers.I am required to perform both unit testing(white box) of
these API calls and also perform a black-box testing of the driver(after
these API calls are integrated in to the driver) in an automated way.
I have started out testing the serial port APIs. Please give me suggestions
as to how I go about this. My approach is now as follows:
1) Unit testing:
test data -->user_space_prog
I wrote some scripts which does an automated test in this model successfull=
upto some extent.
2) How can I do the black-box testing of the serial port driver and also
automate it. Please suggest me few methods??
(I am relatively new to kernel prog. and testing....so a little details in
the answers would be very helpful).
"There are 10 people in the world - those who understand binary and those
who dont !"