aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_protover.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-28 21:32:46 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-28 21:32:46 -0400
commit3d7a705d3a05e9f96d330f5862ebf4fb6e2961c8 (patch)
treeef05051bc7ea77a1a205ffb6419191e0703e84e4 /src/test/test_protover.c
parent721763126e86a0050fcd349fa7ed6d46eda30bd8 (diff)
parent18416b2cf0822ec9579854291292cb0ba4d4844a (diff)
downloadtor-3d7a705d3a05e9f96d330f5862ebf4fb6e2961c8.tar.gz
tor-3d7a705d3a05e9f96d330f5862ebf4fb6e2961c8.zip
Merge remote-tracking branch 'onionk/prototest1'
Diffstat (limited to 'src/test/test_protover.c')
-rw-r--r--src/test/test_protover.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c
index 5bbf997fde..ac8e98250e 100644
--- a/src/test/test_protover.c
+++ b/src/test/test_protover.c
@@ -575,6 +575,14 @@ test_protover_vote_roundtrip(void *args)
{ "Faux=-1", NULL },
{ "Faux=-1-3", NULL },
{ "Faux=1--1", NULL },
+ { "Link=1-2-", NULL },
+ { "Link=1-2-3", NULL },
+ { "Faux=1-2-", NULL },
+ { "Faux=1-2-3", NULL },
+ { "Link=\t1,3", NULL },
+ { "Link=1\n,3", NULL },
+ { "Faux=1,\r3", NULL },
+ { "Faux=1,3\f", NULL },
/* Large integers */
{ "Link=4294967296", NULL },
/* Large range */