diff options
| author | Zheng Junjie <z572@z572.online> | 2026-07-05 11:10:17 +0800 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-07-18 10:40:40 +0200 |
| commit | fe4fa7699d0e76acd4ef87b5a2ad094146ac97f6 (patch) | |
| tree | d00f8619fbaa18a18262d071c2750199dca00c0f | |
| parent | 3a7ab6ca3b0133d4c45542e9b3a382e00b8fa2fa (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.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4107f8ba471..5416fb92584 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -3663,6 +3663,12 @@ deviation, and minimum and maximum values. It can show a nice histogram too.") | |||
| 3663 | (substitute* "tests/helpers/test_mkfds.c" | 3663 | (substitute* "tests/helpers/test_mkfds.c" |
| 3664 | (("/etc/fstab") | 3664 | (("/etc/fstab") |
| 3665 | (which "sh"))) | 3665 | (which "sh"))) |
| 3666 | (substitute* "tests/ts/coresched/coresched" | ||
| 3667 | (("/bin/bash -c") | ||
| 3668 | (string-append (which "bash") " -c"))) | ||
| 3669 | (substitute* "tests/ts/fincore/count" | ||
| 3670 | (("\"\\$FS\" = \"overlay\"") | ||
| 3671 | "\"$FS\" = \"overlay\" || \"$FS\" = \"btrfs\"")) | ||
| 3666 | (substitute* "tests/helpers/test_enosys.c" | 3672 | (substitute* "tests/helpers/test_enosys.c" |
| 3667 | (("/bin/false") | 3673 | (("/bin/false") |
| 3668 | (which "false")))))) | 3674 | (which "false")))))) |
