From 331b5623d27a3ddccc92f56749756682b50f5e23 Mon Sep 17 00:00:00 2001 From: Adam Greene Date: Wed, 18 Sep 2024 22:08:12 -0400 Subject: [PATCH] add suite of ipv6 formatting tests, related to #796 --- src/massip-addr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/massip-addr.c b/src/massip-addr.c index 512a7b63..dcc491f0 100644 --- a/src/massip-addr.c +++ b/src/massip-addr.c @@ -297,13 +297,10 @@ int ipv6address_selftest(void) struct ipaddress_formatted fmt; for (int i = 0; tests[i].name != NULL; i++) { - printf("Expected: %s\n", tests[i].name); fmt = ipaddress_fmt(tests[i].ip_addr); - printf("Actual: %s\n", fmt.string); if (strcmp(fmt.string, tests[i].name) != 0) x++; } - printf("ERRORS: %d\n", x); return x; }