guix-commits
[Top][All Lists]
Advanced

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

01/04: tests: Skip 'pivot-root' test on Linux > 4.7.5.


From: Ludovic Courtès
Subject: 01/04: tests: Skip 'pivot-root' test on Linux > 4.7.5.
Date: Wed, 26 Oct 2016 23:01:09 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit a91d75ecbde59b5400e4812868c3a55e12a220d9
Author: Ludovic Courtès <address@hidden>
Date:   Wed Oct 26 18:01:34 2016 +0200

    tests: Skip 'pivot-root' test on Linux > 4.7.5.
    
    * tests/syscalls.scm ("pivot-root"): Skip when 'uname' returns a
    'utsname:release' > 4.7.5.
---
 tests/syscalls.scm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/syscalls.scm b/tests/syscalls.scm
index 1b31d87..9eb19f9 100644
--- a/tests/syscalls.scm
+++ b/tests/syscalls.scm
@@ -146,7 +146,10 @@
              (waitpid fork-pid)
              result))))))))
 
-(unless perform-container-tests?
+;; 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"))
   (test-skip 1))
 (test-equal "pivot-root"
   #t



reply via email to

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