diff options
Diffstat (limited to 'src/test/test_pt.c')
-rw-r--r-- | src/test/test_pt.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/test_pt.c b/src/test/test_pt.c index e97b0b2087..7725a82233 100644 --- a/src/test/test_pt.c +++ b/src/test/test_pt.c @@ -160,12 +160,17 @@ test_pt_status_parsing(void *arg) /* STATUS TYPE=version messages. */ tt_ptr_op(mp->version, OP_EQ, NULL); - strlcpy(line, "STATUS TRANSPORT=x " + tt_ptr_op(mp->implementation, OP_EQ, NULL); + + strlcpy(line, "STATUS " + "IMPLEMENTATION=xyz " "TYPE=version " "VERSION=\"1.33.7-hax beta\"", sizeof(line)); handle_proxy_line(line, mp); + tt_str_op(mp->version, OP_EQ, "1.33.7-hax beta"); + tt_str_op(mp->implementation, OP_EQ, "xyz"); reset_mp(mp); |