2007-09-14 Mike Frysinger <vapier@gentoo.org>

* inet/tst-network.c: Increment ERRORS for failing tests.
This commit is contained in:
Roland McGrath 2007-09-15 04:10:38 +00:00
parent de1c3ebb59
commit def514c207

View File

@ -61,6 +61,7 @@ main (void)
if (res != tests[i].number) if (res != tests[i].number)
{ {
++errors;
printf ("Test failed for inet_network (\"%s\"):\n", printf ("Test failed for inet_network (\"%s\"):\n",
tests[i].network); tests[i].network);
printf ("Expected return value %u (0x%x) but got %u (0x%x).\n", printf ("Expected return value %u (0x%x) but got %u (0x%x).\n",