瀏覽代碼

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");