about summary refs log tree commit diff
path: root/inet/tst-network.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-09-15 04:10:38 +0000
committerRoland McGrath <roland@gnu.org>2007-09-15 04:10:38 +0000
commitdef514c20745d8b231ea64d4b16ca86c16a09168 (patch)
tree0bdf368642b62f43dd843e02a3e25446668f6c02 /inet/tst-network.c
parentde1c3ebb59c9e9f7caaf5a71920fe613e3e7cfaa (diff)
downloadglibc-def514c20745d8b231ea64d4b16ca86c16a09168.tar.gz
glibc-def514c20745d8b231ea64d4b16ca86c16a09168.tar.xz
glibc-def514c20745d8b231ea64d4b16ca86c16a09168.zip
2007-09-14 Mike Frysinger <vapier@gentoo.org>
	* inet/tst-network.c: Increment ERRORS for failing tests.
Diffstat (limited to 'inet/tst-network.c')
-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",