Sfoglia il codice sorgente

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 anni fa
parent
commit
a42938c076
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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");