summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-31 13:35:46 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-31 13:35:46 -0400
commit05c2db3f0bec9fe2e41ea62fbb6e5bd8ac755da4 (patch)
tree7a53d9184c6cb9e1a260ca976ffc97c3484d1c64
parent273290d4fee31857d689ef5286e44dd268a9bd65 (diff)
downloadtor-05c2db3f0bec9fe2e41ea62fbb6e5bd8ac755da4.tar.gz
tor-05c2db3f0bec9fe2e41ea62fbb6e5bd8ac755da4.zip
Changes file for log test improvements
-rw-r--r--changes/bug19999_prep20
1 files changed, 20 insertions, 0 deletions
diff --git a/changes/bug19999_prep b/changes/bug19999_prep
new file mode 100644
index 0000000000..e8bb4a571b
--- /dev/null
+++ b/changes/bug19999_prep
@@ -0,0 +1,20 @@
+ o Minor features (unit tests):
+ - The unit tests now log all warning messages with the "BUG" flag.
+ Previously, they only logged errors by default. This change will
+ help us make our testing code more correct, and make sure that
+ we only hit this code when we mean to. This is preparatory work
+ for ticket 19999.
+ - Our unit testing code that captures log messages no longer prevents
+ them from being written out if the user asked for them (by passing
+ --debug or --info or or --notice --warn to the "test" binary). This
+ change will prevent us from missing unexpected log messages simply
+ because we were looking for others. Related to ticket 19999.
+ - Our link-handshake unit tests now check, that when invalid
+ handshakes fail, they fail with the error messages we
+ expected.
+
+ o Minor bugfixes (unit tests):
+ - The tor_tls_server_info_callback unit test no longer crashes when
+ debug-level logging is turned on. Fixes bug 20041; bugfix on
+ 0.2.8.1-alpha.
+