diff options
author | David Goulet <dgoulet@torproject.org> | 2019-11-06 08:09:35 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-11-06 08:09:35 -0500 |
commit | 1407e2b169bf187b77528417882a065a4e8f1e60 (patch) | |
tree | eb36b74cfadc3ba2209d01ef0f78621b127f1035 /src/test/test_status.c | |
parent | e85f86bb7b676435b2eb11006f111f6e45b8d252 (diff) | |
download | tor-1407e2b169bf187b77528417882a065a4e8f1e60.tar.gz tor-1407e2b169bf187b77528417882a065a4e8f1e60.zip |
test: Fix DoS heartbeat unit test after adding INTRO2
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_status.c')
-rw-r--r-- | src/test/test_status.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_status.c b/src/test/test_status.c index 2fb2a7b24f..aabe934525 100644 --- a/src/test/test_status.c +++ b/src/test/test_status.c @@ -449,12 +449,13 @@ NS(logv)(int severity, log_domain_mask_t domain, case 5: tt_int_op(severity, OP_EQ, LOG_NOTICE); tt_u64_op(domain, OP_EQ, LD_HEARTBEAT); - tt_str_op(format, OP_EQ, "DoS mitigation since startup:%s%s%s%s"); + tt_str_op(format, OP_EQ, "DoS mitigation since startup:%s%s%s%s%s"); tt_str_op(va_arg(ap, char *), OP_EQ, " 0 circuits killed with too many cells."); tt_str_op(va_arg(ap, char *), OP_EQ, " [cc not enabled]"); tt_str_op(va_arg(ap, char *), OP_EQ, " [conn not enabled]"); tt_str_op(va_arg(ap, char *), OP_EQ, ""); + tt_str_op(va_arg(ap, char *), OP_EQ, " 0 INTRODUCE2 rejected."); break; default: tt_abort_msg("unexpected call to logv()"); // TODO: prettyprint args |