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.

(cherry picked from commit bb4783de57dd326bcefa5c648e02c4addcb849a6)
This commit is contained in:
laokz 2024-11-02 22:18:08 +08:00 committed by openeuler-sync-bot
parent 3e84368f86
commit 803480f9ac

View File

@ -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 <zhangkai@iscas.ac.cn> - 2.39.1-13
- Type:enhancement
- CVE: NA
- SUG: NA
- DESC: riscv64: skip fragile test misc/flock
* Thu Sep 12 2024 liweigang <liweiganga@uniontech.com> - 2.39.1-12
- Type:enhancement
- CVE: NA