Source: remctl
Version: 3.0-4

Some code in tests/util/network-t.c assumes that each iteration in test_all()
emits 3 blocks instead of 4:
ok 8 - all address server test (part 0)
ok 9 - ...socket accept
ok 10 - ...socket read
ok 11 - client made correct connections

These changes should fix that:

--- remctl-3.0.orig/tests/util/network-t.c
+++ remctl-3.0/tests/util/network-t.c
@@ -289,7 +289,7 @@ test_all(const char *source_ipv4, const
         }
     }
     if (count == 1)
-        skip_block(3, "only one listening socket");
+        skip_block(4, "only one listening socket");
     network_bind_all_free(fds);
 }
 
@@ -484,7 +493,7 @@ main(void)
     if (ipv6)
         test_all(NULL, NULL);
     else
-        skip_block(6, "IPv6 not configured");
+        skip_block(8, "IPv6 not configured");
     test_create_ipv4(NULL);
 
     /* This won't make a difference for loopback connections. */
@@ -493,7 +502,7 @@ main(void)
     if (ipv6)
         test_all("127.0.0.1", "::1");
     else
-        skip_block(6, "IPv6 not configured");
+        skip_block(8, "IPv6 not configured");
     test_create_ipv4("127.0.0.1");
 
     /* Test network_accept_any. */




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to