[systemd-devel] [PATCH 0/3] Add basic DHCP client test case
patrik.flykt at linux.intel.com
Tue Feb 18 06:07:37 PST 2014
To celebrate the upcoming release, here is a test case that runs the basic
client side DHCP Discover-Offer-Request-ACK sequence (patch 03). This test
should catch any major breakages with the client implementation. Of course
more tests are needed, but let's start with this one.
Patch 01 implements some pretty-printing, should one like to have a more
verbose output of what's going on, perhaps using a future command line
switch or so. Patch 02 factors out the code such that the actual test
sequence in patch 03 is easier to implement. It's not the prettiest
solution in the world but should get the work done.
I still have to send these to the mailing list, no word from fd.o yet.
Patrik Flykt (3):
libsystemd-dhcp: Add capabilitye to print out test steps
libsystemd-dhcp: Factor out test code for DHCP message verification
libsystemd-dhcp: Add a full DHCP address acquisition test case
src/libsystemd-dhcp/test-dhcp-client.c | 267 ++++++++++++++++++++++++++++++++-
1 file changed, 260 insertions(+), 7 deletions(-)
More information about the systemd-devel