[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #17881 [Tor]: Use return codes from test programs to simplify test scripts



#17881: Use return codes from test programs to simplify test scripts
-----------------------------+--------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Low          |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor          |    Version:  Tor: unspecified
     Severity:  Minor        |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+--------------------------------
 Forwarding the exit codes from the underlying test programs can simplify
 the test scripts that encapsulate the test programs.

 For example, the switch_id test program checks the user id and returns
 early when we are not root. The test_switch_id.sh script does the same
 check which is redunant code if we change the return code in the test
 program and let the script forward it to the test driver.

 Other test scripts can be simplified in a similar way.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17881>
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