aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/system_TEST.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/util/system_TEST.cc b/paludis/util/system_TEST.cc
index b9971acf5..5c2b8a388 100644
--- a/paludis/util/system_TEST.cc
+++ b/paludis/util/system_TEST.cc
@@ -82,6 +82,9 @@ namespace test_cases
#ifdef linux
TEST_CHECK('2' == kernel_version().at(0));
TEST_CHECK('.' == kernel_version().at(1));
+#elif defined(__FreeBSD__)
+ TEST_CHECK('6' == kernel_version().at(0));
+ TEST_CHECK('.' == kernel_version().at(1));
#else
# error You need to write a sanity test for kernel_version() for your platform.
#endif