> > 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
Forget this, these 2 fails happened due to my firewall denying access to lo0 for _pbuild. It is allowed in default pf.conf. -- for private communication: <https://kefir.tilde.institute/files/pgp.asc>
signature.asc
Description: PGP signature