diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-09 08:46:40 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-01-09 08:46:40 -0500 |
commit | f9a7701ff1228b7f1c58b4a2c9716b705cb0d126 (patch) | |
tree | ce2c364e7d4918bd6e14ddc83bfd98d34fd1b266 /src/test/test_util.c | |
parent | ae578981b6c43fbf9e13d0e74806ca6153edf7a9 (diff) | |
parent | 29254812a3428da4ffeaede5d211364d942f94ab (diff) | |
download | tor-f9a7701ff1228b7f1c58b4a2c9716b705cb0d126.tar.gz tor-f9a7701ff1228b7f1c58b4a2c9716b705cb0d126.zip |
Merge branch 'ticket28856_v2'
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index b983cbb0bf..5ffe2d6b1a 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -2153,15 +2153,6 @@ test_util_strmisc(void *arg) tt_int_op(strcmp_opt(NULL, "foo"), OP_LT, 0); tt_int_op(strcmp_opt("foo", NULL), OP_GT, 0); - /* Test strcmp_len */ - tt_int_op(strcmp_len("foo", "bar", 3), OP_GT, 0); - tt_int_op(strcmp_len("foo", "bar", 2), OP_LT, 0); - tt_int_op(strcmp_len("foo2", "foo1", 4), OP_GT, 0); - tt_int_op(strcmp_len("foo2", "foo1", 3), OP_LT, 0); /* Really stop at len */ - tt_int_op(strcmp_len("foo2", "foo", 3), OP_EQ, 0); /* Really stop at len */ - tt_int_op(strcmp_len("blah", "", 4), OP_GT, 0); - tt_int_op(strcmp_len("blah", "", 0), OP_EQ, 0); - done: tor_free(cp_tmp); } |