guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/13: tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels.


From: Ludovic Courtès
Subject: 01/13: tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels.
Date: Sun, 8 Apr 2018 12:04:14 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 6ef80eb0d94181eb5f755a11fca0d428252ce753
Author: Ludovic Courtès <address@hidden>
Date:   Thu Apr 5 10:53:49 2018 +0200

    tests: Skip 'pivot-root' test on Ubuntu's 4.4 kernels.
    
    Fixes <https://bugs.gnu.org/25476>.
    Reported by Paul Garlick <address@hidden>
    and Maria Sidorova <address@hidden>.
    
    * tests/syscalls.scm ("pivot-root"): Skip on known-bad Ubuntu kernels.
---
 tests/syscalls.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/tests/syscalls.scm b/tests/syscalls.scm
index 22ca2a0..0d07280 100644
--- a/tests/syscalls.scm
+++ b/tests/syscalls.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <address@hidden>
+;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2015 David Thompson <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -151,7 +151,13 @@
 ;; XXX: Skip this test when running Linux > 4.7.5 to work around
 ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
 (when (or (not perform-container-tests?)
-          (version>? (utsname:release (uname)) "4.7.5"))
+          (version>? (utsname:release (uname)) "4.7.5")
+
+          ;; Skip on Ubuntu's 4.4 kernels, which contain a backport of the
+          ;; faulty code: <https://bugs.gnu.org/25476>.
+          (member (utsname:release (uname))
+                  '("4.4.0-21-generic" "4.4.0-59-generic"
+                    "4.4.0-116-generic")))
   (test-skip 1))
 (test-equal "pivot-root"
   #t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]