mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-31 16:42:38 -05:00
gnu: util-linux: Globally disable the lsns test.
Justification: the test also failed on the CI for x86_64 and caused an evaluation to fail. * gnu/packages/linux.scm (util-linux)[phases]{disable-lsns-test}: Disable globally.
This commit is contained in:
parent
ee394937bc
commit
3026644104
1 changed files with 8 additions and 10 deletions
|
@ -1907,16 +1907,14 @@ (define-public util-linux
|
|||
(string-append
|
||||
all "\n"
|
||||
"ts_skip \"setarch tests are unreliable under QEMU\"")))))
|
||||
,@(if (target-x86-32?)
|
||||
`((add-before 'check 'disable-lsns-test
|
||||
(lambda _
|
||||
;; The lsns tests can fail due to ioctl(_, NS_GET_USERNS)
|
||||
;; returning ENOTTY, indicating this kernel does not
|
||||
;; support user namespaces. Curiously, this test can fail
|
||||
;; on i686 even if the same test passes on x86_64 on the
|
||||
;; same machine. See <https://issues.guix.gnu.org/49933>.
|
||||
(delete-file "tests/ts/lsns/ioctl_ns"))))
|
||||
'())
|
||||
(add-before 'check 'disable-lsns-test
|
||||
(lambda _
|
||||
;; The lsns tests can fail due to ioctl(_, NS_GET_USERNS)
|
||||
;; returning ENOTTY, indicating this kernel does not
|
||||
;; support user namespaces. Curiously, this test can fail
|
||||
;; on i686 even if the same test passes on x86_64 on the
|
||||
;; same machine. See <https://issues.guix.gnu.org/49933>.
|
||||
(delete-file "tests/ts/lsns/ioctl_ns")))
|
||||
(add-after 'install 'move-static-libraries
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((lib (assoc-ref outputs "lib"))
|
||||
|
|
Loading…
Reference in a new issue