From bb4783de57dd326bcefa5c648e02c4addcb849a6 Mon Sep 17 00:00:00 2001 From: laokz Date: Sat, 2 Nov 2024 22:18:08 +0800 Subject: [PATCH] riscv64: skip fragile test misc/flock The test depends on several small time splice such 0.1, 1, 3 seconds. That seems fragile on riscv64 machine and mostly leads to failure. --- util-linux.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/util-linux.spec b/util-linux.spec index 3b0da10..19f98f1 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -3,7 +3,7 @@ Name: util-linux Version: 2.39.1 -Release: 12 +Release: 13 Summary: A random collection of Linux utilities License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain URL: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git @@ -192,6 +192,9 @@ unset LINGUAS || : %make_build %{_build_arg0__} %{_build_arg1__} %check +%ifarch riscv64 +sed -i 's|^EXCLUDETESTS=$|EXCLUDETESTS=misc/flock|' tests/run.sh +%endif make check %install @@ -413,6 +416,12 @@ fi %endif %changelog +* Mon Nov 04 2024 laokz - 2.39.1-13 +- Type:enhancement +- CVE: NA +- SUG: NA +- DESC: riscv64: skip fragile test misc/flock + * Thu Sep 12 2024 liweigang - 2.39.1-12 - Type:enhancement - CVE: NA -- Gitee