summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/util-linux-tests.patch
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-02-27 00:53:12 +0800
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:30 +0200
commitf94edace04e1278a89733661eee7d5e1d097a100 (patch)
tree1d13bb01fc05aedc72558237d864459554eba2c9 /gnu/packages/patches/util-linux-tests.patch
parent52d06d2fb4d581faba7a68636bff29a34f211f82 (diff)
gnu: util-linux: Update to 2.40.4.
* gnu/packages/linux.scm (util-linux)[source]<snippet>: Remove tailing #t. [arguments]<#:phases>: Adjust pre-check phase. [inputs]: Add sqlite. [native-inputs]: Add pkg-config. * gnu/packages/patches/util-linux-tests.patch: Adjust it. Change-Id: I3c22d0b5b02a6dd0fee440f32e87279d7d4b1554
Diffstat (limited to 'gnu/packages/patches/util-linux-tests.patch')
-rw-r--r--gnu/packages/patches/util-linux-tests.patch19
1 files changed, 1 insertions, 18 deletions
diff --git a/gnu/packages/patches/util-linux-tests.patch b/gnu/packages/patches/util-linux-tests.patch
index ec1671f224..496167dbbc 100644
--- a/gnu/packages/patches/util-linux-tests.patch
+++ b/gnu/packages/patches/util-linux-tests.patch
@@ -1,23 +1,6 @@
-This test checks whether 'root' is successfully translated to UID/GID 0,
-using 'getpwnam' in libmount. This doesn't work in the chroot because
-/etc/passwd doesn't contain an entry for 'root' so skip it.
-
-The second test requires that '/sys/dev/block' is present, which is not
+This test requires that '/sys/dev/block' is present, which is not
the case inside the build container.
---- util-linux-2.25.2/tests/ts/libmount/optstr 2015-01-23 13:58:41.181151194 +0100
-+++ util-linux-2.25.2/tests/ts/libmount/optstr 2015-01-23 13:58:42.829161716 +0100
-@@ -108,10 +108,6 @@
- ts_run $TESTPROG --apply --user "noexec,nosuid,loop=/dev/looop0" 0x408 &> $TS_OUTPUT
- ts_finalize_subtest
-
--ts_init_subtest "fix"
--ts_run $TESTPROG --fix "uid=root,gid=root" &> $TS_OUTPUT
--ts_finalize_subtest
--
- ts_init_subtest "deduplicate"
- ts_run $TESTPROG --dedup bbb,ccc,AAA,xxx,AAA=a,AAA=bbb,ddd,AAA=ccc,fff=eee AAA &> $TS_OUTPUT
- ts_finalize_subtest
--- a/tests/ts/lsblk/lsblk 2019-03-11 21:08:23.734387391 +0100
+++ b/tests/ts/lsblk/lsblk 2019-03-11 21:12:43.635473111 +0100
@@ -22,6 +22,8 @@