From a84d24c8530a167ca77b34ccacc164da91f3c01c Mon Sep 17 00:00:00 2001
From: Aomx <aomx@riseup.net>
Date: Sat, 16 Jul 2016 12:10:55 +0200
Subject: [PATCH] removed debug output

---
 gtests/net/packetdrill/packet_to_string_test.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gtests/net/packetdrill/packet_to_string_test.c b/gtests/net/packetdrill/packet_to_string_test.c
index 2560b870..98394649 100644
--- a/gtests/net/packetdrill/packet_to_string_test.c
+++ b/gtests/net/packetdrill/packet_to_string_test.c
@@ -268,9 +268,6 @@ static void test_sctp_ipv6_packet_to_string(void)
 	char *error = NULL;
 	enum packet_parse_result_t result =
 		parse_packet(packet, sizeof(data), ETHERTYPE_IPV6, &error);
-	if (result != PACKET_OK) {
-		printf("error was: %s\n", error);
-	}
 	assert(result == PACKET_OK);
 	assert(error == NULL);
 
@@ -279,9 +276,6 @@ static void test_sctp_ipv6_packet_to_string(void)
 
 	/* Test a DUMP_SHORT dump */
 	status = packet_to_string(packet, DUMP_SHORT, &dump, &error);
-	if (status != STATUS_OK) {
-		printf("error was: %s\n", error);
-	}
 	assert(status == STATUS_OK);
 	assert(error == NULL);
 	printf("dump = '%s'\n", dump);
-- 
GitLab