bug19999_prep 1.1 KB

12345678910111213141516171819202122
  1. o Minor features (unit tests):
  2. - The unit tests now log all warning messages with the "BUG" flag.
  3. Previously, they only logged errors by default. This change will
  4. help us make our testing code more correct, and make sure that
  5. we only hit this code when we mean to. This is preparatory work
  6. for ticket 19999.
  7. - Our unit testing code that captures log messages no longer prevents
  8. them from being written out if the user asked for them (by passing
  9. --debug or --info or or --notice --warn to the "test" binary). This
  10. change will prevent us from missing unexpected log messages simply
  11. because we were looking for others. Related to ticket 19999.
  12. - Our link-handshake unit tests now check, that when invalid
  13. handshakes fail, they fail with the error messages we
  14. expected.
  15. - The unit tests now treat any failure of a "tor_assert_nonfatal()"
  16. assertion as a test failure.
  17. o Minor bugfixes (unit tests):
  18. - The tor_tls_server_info_callback unit test no longer crashes when
  19. debug-level logging is turned on. Fixes bug 20041; bugfix on
  20. 0.2.8.1-alpha.