[tor-dev] tor's "make test" fails when run on tails

warms0x warms0x at riseup.net
Mon Apr 27 05:49:37 UTC 2015

I am trying to execute tor's tests from git (63a90f2) on tails but the
socketpair_ersatz test keeps failing

util/socketpair: [forking] OK
util/socketpair_ersatz: [forking]

  FAIL src/test/test_util.c:4212: assert(0 OP_EQ
  tor_socketpair_fn(family, SOCK_STREAM, 0, fds)): 0 vs -111
  [socketpair_ersatz FAILED] util/max_mem: OK

The failure seems to be in connect():

armadev said on IRC that he/she could make the tests pass, so I wonder
if there might be some specific behavior on tails that prevents the
test from passing successfully.

Is there a suggested workaround? Or perhaps is it possible to easily
ignore this one test?

More information about the tor-dev mailing list