summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2026-07-05 11:10:17 +0800
committerAndreas Enge <andreas@enge.fr>2026-08-23 16:37:48 +0200
commit9a46ce8a11bcbd0a13e6ffa278dbbb35a0ef5ed9 (patch)
treea74eda6f3c907ee77f21f40643436dcd9c7699a4
parent5be213b2ffd5761ab06858d5002e3393f38771b3 (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>
-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 a9e034878e5..8f39aab3f53 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"))))))