diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-01 13:32:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-01 13:32:21 -0400 |
commit | ff3e08f2af226d9660a08ab599c7e446c42fd7b4 (patch) | |
tree | b77fc39eb77f5422f8822bcf3ccef20fc069b283 /src/test/test_options.c | |
parent | 733b2452836dffdf6fbb64c77fd168e24f278d55 (diff) | |
download | tor-ff3e08f2af226d9660a08ab599c7e446c42fd7b4.tar.gz tor-ff3e08f2af226d9660a08ab599c7e446c42fd7b4.zip |
Attempt to fix unit tests on netbsd
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r-- | src/test/test_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |