summaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorSteven Chamberlain <steven@pyro.eu.org>2016-03-18 13:17:18 +0000
committerNick Mathewson <nickm@torproject.org>2016-03-21 09:51:35 -0400
commita42938c07670162863decc952b4d73681d9302d6 (patch)
tree7b01e77f335adf2afd6ff2b6ebcd3cde71b1a86f /src/test/test_options.c
parent45681f695c6096e280bc7ec3bf0a67c27708dbbc (diff)
downloadtor-a42938c07670162863decc952b4d73681d9302d6.tar.gz
tor-a42938c07670162863decc952b4d73681d9302d6.zip
test_options.c: assert that TransProxyType is tested
If a new platform defines USE_TRANSPARENT, ensure that a test runs for its TransProxyType.
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 9ea57189ef..bd00e6105e 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -1102,6 +1102,9 @@ test_options_validate__transproxy(void *ignored)
tt_assert(!msg);
#endif
+ // Assert that a test has run for some TransProxyType
+ tt_assert(tdata);
+
#else
tdata = get_options_test_data("TransPort 127.0.0.1:555\n");