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.
This commit is contained in:
Ludovic Courtès 2016-10-26 18:01:34 +02:00
parent 5d73e30000
commit a91d75ecbd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -146,7 +146,10 @@ (define perform-container-tests?
(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