[tor-bugs] #28096 [Core Tor/Tor]: Windows 8.1 and 10 relays claim to be Windows 8

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 5 02:24:47 UTC 2018


#28096: Windows 8.1 and 10 relays claim to be Windows 8
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  teor
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.6.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.2.34
 Severity:  Normal                               |     Resolution:
 Keywords:  windows, fast-fix, 029-backport,     |  Actual Points:  0.2
  033-backport, 034-backport, 035-backport       |
Parent ID:                                       |         Points:  0.2
 Reviewer:  asn                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Here's what I am stuck with:
 1. I want to test get_uname().
 2. I think we can test get_uname() by making the unit tests print the Tor,
 OS, and library versions when they start. (And that's a nice feature.)
 3. But I only want the Windows tests to print this log in the parent test
 process.
 4. The parent/child flag is in tinytest.c, but the tor-specific code is in
 testing_common.c. How do I get access to the parent/child flag in
 testing_common.c ?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28096#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list