summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2026-07-05 11:10:17 +0800
committerNoƩ Lopez <noelopez@free.fr>2026-08-25 01:15:40 +0200
commit26b0ae1ba0a69dbfacf2da758a64fdba28650dd6 (patch)
treeb778762ded8f55b8982e6c7285a300517fd1e0cd /gnu/packages/linux.scm
parent73a0af5ef4a8cd6180865b9a36a52727b0791aff (diff)
gnu: util-linux: Fix tests.
On some machines, this test will be skipped, but on others it will be executed. However, since our bash is not located under /bin, the test will fail. And fincore/count seems to fail on btrfs. * gnu/packages/linux.scm (util-linux) [arguments]<#:phases>: Adjust 'pre-check phase. Change-Id: I9bdaf0dbca832919fa6ccb633023c8565ef22709 Signed-off-by: Zheng Junjie <z572@z572.online>
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 328712844ff..acca5cfa6d0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3174,6 +3174,12 @@ deviation, and minimum and maximum values. It can show a nice histogram too.")
3174 (substitute* "tests/helpers/test_mkfds.c" 3174 (substitute* "tests/helpers/test_mkfds.c"
3175 (("/etc/fstab") 3175 (("/etc/fstab")
3176 (which "sh"))) 3176 (which "sh")))
3177 (substitute* "tests/ts/coresched/coresched"
3178 (("/bin/bash -c")
3179 (string-append (which "bash") " -c")))
3180 (substitute* "tests/ts/fincore/count"
3181 (("\"\\$FS\" = \"overlay\"")
3182 "\"$FS\" = \"overlay\" || \"$FS\" = \"btrfs\""))
3177 (substitute* "tests/helpers/test_enosys.c" 3183 (substitute* "tests/helpers/test_enosys.c"
3178 (("/bin/false") 3184 (("/bin/false")
3179 (which "false")))))) 3185 (which "false"))))))