diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-15 03:58:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-15 03:58:20 +0000 |
commit | a3762dfa4ad68ac45d1e854e07b73b2d4760a69f (patch) | |
tree | 9765c765c93bb3a90f64bab4d3e34201728913a4 /test/inet | |
parent | 7a4e15c50525db56efe67d23b36e955ca21c3a8c (diff) | |
download | uClibc-alpine-a3762dfa4ad68ac45d1e854e07b73b2d4760a69f.tar.bz2 uClibc-alpine-a3762dfa4ad68ac45d1e854e07b73b2d4760a69f.tar.xz |
actually update errors variable when a test fails
Diffstat (limited to 'test/inet')
-rw-r--r-- | test/inet/tst-network.c | 1 |
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", |