[tor-bugs] #18660 [Core Tor/Stem]: OSX's man command lacks '--encoding' argument

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 4 03:45:01 UTC 2017


#18660: OSX's man command lacks '--encoding' argument
---------------------------+--------------------------
 Reporter:  Sebastian      |          Owner:  atagar
     Type:  defect         |         Status:  reopened
 Priority:  Low            |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  utils          |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------
Changes (by ewong):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 the test_from_man_when_manual_is_unavailable() test needs to also include
 the patch() line for HAS_ENCODING_ARG.  otherwise, it'll still run
 and since the resulting command = 'man -P cat tor' (on bsd, mac and
 slackware),
 won't be equal to 'man --encoding=ascii -P cat tor' ..   it'll fail.

 https://github.com/ewongbb/stem/tree/fix_test_from_man_unavailable

 this should fix it.

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


More information about the tor-bugs mailing list