mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
test_options.c: assert that TransProxyType is tested
If a new platform defines USE_TRANSPARENT, ensure that a test runs for its TransProxyType.
This commit is contained in:
committed by
Nick Mathewson
parent
45681f695c
commit
a42938c076
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user