Преглед изворни кода

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 година
родитељ
комит
a42938c076
1 измењених фајлова са 3 додато и 0 уклоњено
  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");