Browse Source

test_options.c: assert that TransProxyType is tested

If a new platform defines USE_TRANSPARENT, ensure that a test runs for
its TransProxyType.
Steven Chamberlain 8 years ago
parent
commit
a42938c076
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/test/test_options.c

+ 3 - 0
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");