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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs