浏览代码

Attempt to fix unit tests on netbsd

Nick Mathewson 8 年之前
父节点
当前提交
ff3e08f2af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/test/test_options.c

+ 1 - 1
src/test/test_options.c

@@ -1078,7 +1078,7 @@ test_options_validate__transproxy(void *ignored)
   tt_int_op(ret, OP_EQ, -1);
   tt_assert(!msg);
 #endif
-#if defined(__FreeBSD_kernel__) || defined( DARWIN )
+#if defined(__FreeBSD_kernel__) || defined( DARWIN )  || defined(__NetBSD__)
   tdata = get_options_test_data("TransProxyType ipfw\n"
                                 "TransPort 127.0.0.1:123\n");
   ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);