From a91d75ecbde59b5400e4812868c3a55e12a220d9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 26 Oct 2016 18:01:34 +0200 Subject: 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 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 +;; . +(when (or (not perform-container-tests?) + (version>? (utsname:release (uname)) "4.7.5")) (test-skip 1)) (test-equal "pivot-root" #t -- cgit v1.2.3