gnu: guix: Disable test that fails on Btrfs.
Works around <https://bugs.gnu.org/29363>. Reported by Rutger Helling <rhelling@mykolab.com>. * gnu/packages/package-management.scm (guix)[arguments]: Rename 'disable-container-tests' phase to 'disable-failing-tests' and add substitution to disable test for freed disk space.
This commit is contained in:
parent
9a87aa814a
commit
40e89f5be6
|
@ -169,8 +169,7 @@
|
||||||
(copy "armhf")
|
(copy "armhf")
|
||||||
(copy "aarch64")
|
(copy "aarch64")
|
||||||
#t))
|
#t))
|
||||||
(add-after
|
(add-after 'unpack 'disable-failing-tests
|
||||||
'unpack 'disable-container-tests
|
|
||||||
;; XXX FIXME: These tests fail within the build container.
|
;; XXX FIXME: These tests fail within the build container.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/syscalls.scm"
|
(substitute* "tests/syscalls.scm"
|
||||||
|
@ -183,6 +182,12 @@
|
||||||
(substitute* "tests/guix-environment-container.sh"
|
(substitute* "tests/guix-environment-container.sh"
|
||||||
(("guix environment --version")
|
(("guix environment --version")
|
||||||
"exit 77\n")))
|
"exit 77\n")))
|
||||||
|
;; XXX: On some file systems (notably Btrfs), the test
|
||||||
|
;; for freed disk space after GC may fail. See
|
||||||
|
;; <https://bugs.gnu.org/29363>.
|
||||||
|
(substitute* "tests/store.scm"
|
||||||
|
(("(\\(> freed 0\\))" all)
|
||||||
|
(string-append ";" all)))
|
||||||
#t))
|
#t))
|
||||||
(add-before 'check 'set-SHELL
|
(add-before 'check 'set-SHELL
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in New Issue