[tor-bugs] #26373 [Core Tor/Tor]: test_rust.sh should detect when it's being invoked improperly and error out

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 14 17:21:03 UTC 2018


#26373: test_rust.sh should detect when it's being invoked improperly and error out
------------------------------+--------------------------------------
     Reporter:  catalyst      |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  rust, testing, tor-tests
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------------
 While attempting to test #26258, I noticed that running
 src/test/test_rust.sh from the top of the source tree exited with status 0
 and no output.  It should probably detect that it failed to find any
 Cargo.toml files and exit with a failure status with an error message.
 (This seems to happen because some necessary environment variables aren't
 set.)

 Prior to #26258, the find invocation failing would probably have taken
 care of this, so this change should probably get back ported to the same
 releases.

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


More information about the tor-bugs mailing list