[tor-bugs] #16737 [Tor]: echo "crash" | python /home/tfoerste/devel/tor/src/test/bt_test.py gives "BAD"

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 17 13:21:39 UTC 2015


#16737: echo "crash" | python /home/tfoerste/devel/tor/src/test/bt_test.py  gives
"BAD"
------------------------+--------------------------------
     Reporter:  toralf  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by nickm):

 Replying to [comment:3 toralf]:
 > runnign the test programs itself - yes, but why does even
 > {{{
 > $> echo "crash" | python /home/tfoerste/devel/tor/src/test/bt_test.py
 > }}}

 It's not just looking for "crash" -- it's looking for a stack trace with
 the function names in the right order, to show that we got a correct stack
 trace.

 > BTW, what's the advantage of using python here in favour of "grep" ?

 we're looking specifically for the function names appearing in the right
 order. I don't know how to do that with grep; but I wouldn't mind changing
 it.

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


More information about the tor-bugs mailing list