about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--inet/tst-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/tst-network.c b/inet/tst-network.c
index 4283888057..564a366a44 100644
--- a/inet/tst-network.c
+++ b/inet/tst-network.c
@@ -61,6 +61,7 @@ main (void)
 
       if (res != tests[i].number)
 	{
+	  ++errors;
 	  printf ("Test failed for inet_network (\"%s\"):\n",
 		  tests[i].network);
 	  printf ("Expected return value %u (0x%x) but got %u (0x%x).\n",