summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-03-11 10:05:28 -0500
committerNick Mathewson <nickm@torproject.org>2016-03-11 10:05:28 -0500
commitef31c8862f4ed86cfa4987b2ec58468269457f87 (patch)
tree67b74f61938b17eb38ef8ca929eb053d126b541b /src/test
parentdb263442af565fde0d54398da7cc80a66469d273 (diff)
downloadtor-ef31c8862f4ed86cfa4987b2ec58468269457f87.tar.gz
tor-ef31c8862f4ed86cfa4987b2ec58468269457f87.zip
Add changes file for 18448; refactor
(I've made it so FreeBSD || FreeBSD_kernel is enough to ensure that we think you might have ipfw, and so that the logic is all in one place.)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 9458ade666..d294e607a2 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -1058,7 +1058,7 @@ test_options_validate__transproxy(void *ignored)
ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, &msg);
tt_int_op(ret, OP_EQ, -1);
-#if !defined(__FreeBSD_kernel__) && !defined( DARWIN )
+#ifndef KERNEL_MAY_SUPPORT_IPFW
tt_str_op(msg, OP_EQ, "ipfw is a FreeBSD-specificand OS X/Darwin-specific "
"feature.");
#else