summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-15 03:58:20 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-15 03:58:20 +0000
commita3762dfa4ad68ac45d1e854e07b73b2d4760a69f (patch)
tree9765c765c93bb3a90f64bab4d3e34201728913a4 /test
parent7a4e15c50525db56efe67d23b36e955ca21c3a8c (diff)
actually update errors variable when a test fails
Diffstat (limited to 'test')
-rw-r--r--test/inet/tst-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/inet/tst-network.c b/test/inet/tst-network.c
index 428388805..564a366a4 100644
--- a/test/inet/tst-network.c
+++ b/test/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",