--- src/libsystemd-dhcp/test-dhcp-client.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/src/libsystemd-dhcp/test-dhcp-client.c b/src/libsystemd-dhcp/test-dhcp-client.c index f341b3c..32c79eb 100644 --- a/src/libsystemd-dhcp/test-dhcp-client.c +++ b/src/libsystemd-dhcp/test-dhcp-client.c @@ -38,6 +38,7 @@ static struct ether_addr mac_addr = { .ether_addr_octet = {'A', 'B', 'C', '1', '2', '3'} }; +static bool verbose = false; static int test_fd[2]; static void test_request_basic(sd_event *e) @@ -46,6 +47,9 @@ static void test_request_basic(sd_event *e) sd_dhcp_client *client; + if (verbose) + printf("* %s\n", __FUNCTION__); + r = sd_dhcp_client_new(&client); assert(r >= 0); @@ -126,6 +130,9 @@ static void test_checksum(void) 0xff, 0xff, 0xff, 0xff }; + if (verbose) + printf("* %s\n", __FUNCTION__); + assert(client_checksum(&buf, 20) == be16toh(0x78ae)); } @@ -207,6 +214,9 @@ static void test_discover_message(sd_event *e) sd_dhcp_client *client; int res, r; + if (verbose) + printf("* %s\n", __FUNCTION__); + r = sd_dhcp_client_new(&client); assert(r >= 0); assert(client); -- 1.8.5.2 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel