> Kirill, Bryan, Stepan, Anthony, Thomas, I attached a new tarball to
> this mail with the above changed, could you check it over and/or test
> for me?

The failing test now works, which is good.
However I now noticed 2 other failures regarding sockets and IP stuff.
These tests seem to be permanently broken by the fact that _pbuild user
has no network connectivity.

However, there is a INTERNET_SIMULATOR #define that disables them.
With the this patch all tests pass.

diff --git patches/patch-src_constants_h patches/patch-src_constants_h
new file mode 100644
index 0000000..c6fa5f2
--- /dev/null
+++ patches/patch-src_constants_h
@@ -0,0 +1,12 @@
+Index: src/constants.h
+--- src/constants.h.orig
++++ src/constants.h
+@@ -22,7 +22,7 @@
+ // Define for simulating the quirks of sending through internet.
+ // Causes the socket class to deliberately drop random packets.
+ // This disables unit testing of socket and connection.
+-#define INTERNET_SIMULATOR 0
++#define INTERNET_SIMULATOR 1
+ #define INTERNET_SIMULATOR_PACKET_LOSS 10 // 10 = easy, 4 = hard
+
+ #define CONNECTION_TIMEOUT 30

Attachment: signature.asc
Description: PGP signature

Reply via email to