aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2019-03-10 21:21:34 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2019-03-11 21:39:14 +0100
commitc650ae48506d2c7e54d37b0ec379de2c2f073ea6 (patch)
treefa6c97b0b37c77ac69c950b70c4e9f1603fef410
parent016e8096a42d13fd6ee1780611341c89ed6e38af (diff)
downloadpaludis-c650ae48506d2c7e54d37b0ec379de2c2f073ea6.tar.gz
paludis-c650ae48506d2c7e54d37b0ec379de2c2f073ea6.tar.xz
tests: Allow Linux 5.x
-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 b1d2aff..b99d450 100644
--- a/paludis/util/system_TEST.cc
+++ b/paludis/util/system_TEST.cc
@@ -51,7 +51,7 @@ TEST(KernelVersion, Works)
EXPECT_TRUE(! kernel_version().empty());
#ifdef __linux__
char c = kernel_version().at(0);
- EXPECT_TRUE(c >= '2' && c <= '4');
+ EXPECT_TRUE(c >= '2' && c <= '5');
EXPECT_TRUE('.' == kernel_version().at(1));
#elif defined(__FreeBSD__)
EXPECT_TRUE(isdigit(kernel_version().at(0)));