From ff3e08f2af226d9660a08ab599c7e446c42fd7b4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 1 Nov 2016 13:32:21 -0400 Subject: Attempt to fix unit tests on netbsd --- src/test/test_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/test/test_options.c b/src/test/test_options.c index 31a916f9ac..0eada98cb2 100644 --- a/src/test/test_options.c +++ b/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); -- cgit v1.2.3-54-g00ecf