testing: test many possible truncated SOCKS commands
commit5427365907ef42a25ba1f3de072dcd6244e7a75b
authorNick Mathewson <nickm@torproject.org>
Wed, 27 Sep 2017 14:54:56 +0000 (27 10:54 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 27 Sep 2017 14:54:56 +0000 (27 10:54 -0400)
tree6afac34b6e04b134a46f51d06cd508c6009cefac
parenta57f495c1a55c0e04ee29d87d4085768c35372e0
testing: test many possible truncated SOCKS commands

Many of the 'truncated command' paths in fetch_from_buf_socks() were
not reached by the tests.  This new unit test tries to check them
exhaustively.
src/test/test_socks.c