initial import
[patches.git] / glibc-tst-network.patch
1 2007-09-14 Mike Frysinger <vapier@gentoo.org>
2
3 * inet/tst-network.c: Increment errors when res != tests[i].number.
4
5 Index: inet/tst-network.c
6 ===================================================================
7 RCS file: /cvs/glibc/libc/inet/tst-network.c,v
8 retrieving revision 1.3
9 diff -u -p -r1.3 tst-network.c
10 --- inet/tst-network.c 24 Sep 2002 04:21:03 -0000 1.3
11 +++ inet/tst-network.c 15 Sep 2007 03:58:49 -0000
12 @@ -61,6 +61,7 @@ main (void)
13
14 if (res != tests[i].number)
15 {
16 + ++errors;
17 printf ("Test failed for inet_network (\"%s\"):\n",
18 tests[i].network);
19 printf ("Expected return value %u (0x%x) but got %u (0x%x).\n",