From: Steven Chamberlain Date: Fri, 18 Mar 2016 13:17:18 +0000 (+0000) Subject: test_options.c: assert that TransProxyType is tested X-Git-Tag: tor-0.2.8.2-alpha~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a42938c07670162863decc952b4d73681d9302d6;p=thirdparty%2Ftor.git test_options.c: assert that TransProxyType is tested If a new platform defines USE_TRANSPARENT, ensure that a test runs for its TransProxyType. --- 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");