[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6298 [Tor Relay]: Test 'addr/basic' failure in tor master
#6298: Test 'addr/basic' failure in tor master
-----------------------+----------------------------------------------------
Reporter: andrea | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: unspecified
Component: Tor Relay | Version: Tor: unspecified
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
I just built branch 'master' (revision
46434ecf5b6f1ad88deb86fdac044c41ae4b534b) from the tor.git repository with
gcc 4.5.3 on x86_64-linux using this configure line:
CC="gcc -m64 -mtune=core2" PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig
PKG_CONFIG_PATH=/usr/share/pkgconfig ./configure --prefix=/usr
--libdir=/usr/lib64 --libexecdir=/usr/libexec64 --sysconfdir=/etc
--localstatedir=/var --build=x86_64-linux --host=x86_64-linux --disable-
linker-hardening --disable-asciidoc
This causes a test suite failure I haven't seen before:
addr/basic:
FAIL test_addr.c:36: assert((u32) == (0x7f000001u)): 2851995905 vs
2130706433
[basic FAILED]
Turns out the DNS in this hotel *resolves localhost to 169.254.1.1*. This
is horribly wrong, of course, and I should have had a proper /etc/hosts
for it anyway (*lashes self with wet noodle*), but why does the test suite
depend on stuff random machines elsewhere on the network do at all to
pass? Shouldn't we mock this stuff somehow?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6298>
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