aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2011-05-31 16:09:42 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-05-31 15:11:17 +0100
commit44414474ed14a5c57fa64c913e29581b2b368e1b (patch)
tree435227203ee5d0b295455a1fd9dbcc4f0c5aa9ba
parent60715c492060cfc47f285d2ed7287b46dc207cde (diff)
downloadpaludis-44414474ed14a5c57fa64c913e29581b2b368e1b.tar.gz
paludis-44414474ed14a5c57fa64c913e29581b2b368e1b.tar.xz
tests: add support for linux 3.0
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--paludis/util/system_TEST.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/system_TEST.cc b/paludis/util/system_TEST.cc
index 27a6f7c..6d54ab1 100644
--- a/paludis/util/system_TEST.cc
+++ b/paludis/util/system_TEST.cc
@@ -50,7 +50,7 @@ TEST(KernelVersion, Works)
{
EXPECT_TRUE(! kernel_version().empty());
#ifdef linux
- EXPECT_TRUE('2' == kernel_version().at(0));
+ EXPECT_TRUE('2' == kernel_version().at(0) || '3' == kernel_version().at(0));
EXPECT_TRUE('.' == kernel_version().at(1));
#elif defined(__FreeBSD__)
EXPECT_TRUE(isdigit(kernel_version().at(0)));