summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-26 18:01:34 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-27 01:00:41 +0200
commita91d75ecbde59b5400e4812868c3a55e12a220d9 (patch)
tree418ebdd625e3dfab0b3e88602881a4adb99bfb7a
parent5d73e3000030006b00e7e6644f3ced5d6176376e (diff)
downloadguix-a91d75ecbde59b5400e4812868c3a55e12a220d9.tar.gz
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.
-rw-r--r--tests/syscalls.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/syscalls.scm b/tests/syscalls.scm
index 1b31d87f23..9eb19f9c80 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