aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-06 09:40:56 -0400
committerNick Mathewson <nickm@torproject.org>2015-10-06 09:40:56 -0400
commit94669c829c10c0d6f4560fa3f48cc7e73b8e791c (patch)
tree5cdecdaa648a7fa2cef50f9420b37c23e550ebc5 /src/test
parentbfd9dccdb8692a8d1d04c1c4004bc4bd3236c7b1 (diff)
downloadtor-94669c829c10c0d6f4560fa3f48cc7e73b8e791c.tar.gz
tor-94669c829c10c0d6f4560fa3f48cc7e73b8e791c.zip
Allow case-insensitive match in test_tortls_debug_state_callback
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_tortls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c
index 5e0b80f54d..be7dd9b92e 100644
--- a/src/test/test_tortls.c
+++ b/src/test/test_tortls.c
@@ -1834,7 +1834,8 @@ test_tortls_debug_state_callback(void *ignored)
n = snprintf(buf, 1000, "SSL %p is now in state unknown"
" state [type=32,val=45].\n", ssl);
buf[n]='\0';
- tt_str_op(mock_saved_log_at(0), OP_EQ, buf);
+ if (strcasecmp(mock_saved_log_at(0), buf))
+ tt_str_op(mock_saved_log_at(0), OP_EQ, buf);
done:
teardown_capture_of_logs(previous_log);