[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1808 [Tor - Tor client]: Unit test failure on FreeBSD 7.1 at test.c:1053
#1808: Unit test failure on FreeBSD 7.1 at test.c:1053
------------------------------+---------------------------------------------
Reporter: edmanm | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor - Tor client | Version:
Keywords: | Parent:
------------------------------+---------------------------------------------
Comment(by edmanm):
Yes, previous and subsequent builds have passed. Nothing has changed on
the FreeBSD host for many months either. Note that that test randomly
generates ports though:
{{{
1032 intro->extend_info->port = crypto_rand_int(65536);
}}}
For that particular test run, it appears to have simply randomly generated
a 0. You can force that test to fail with the message in the ticket by
just changing that line to:
{{{
1032 intro->extend_info->port = 0;
}}}
So it's really just the test that is not recognizing that Tor is doing the
right thing in that situation, assuming you really do want to reject 0 as
an intro point port.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1808#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs