skip a test that relies on /proc/kallsyms having immutable content
This commit is contained in:
parent
4f1cea8bda
commit
788bd804ff
26
coreutils-8.31-disable-test-cp-proc-short-read.patch
Normal file
26
coreutils-8.31-disable-test-cp-proc-short-read.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 0618c1b3b62cd68d22371b55fe6ca9dc8a00ea51 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Thu, 30 Jan 2020 14:58:37 +0100
|
||||||
|
Subject: [PATCH] tests/cp/proc-short-read.sh: skip unreliable test
|
||||||
|
|
||||||
|
Bug: https://debbugs.gnu.org/39357
|
||||||
|
---
|
||||||
|
tests/cp/proc-short-read.sh | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/cp/proc-short-read.sh b/tests/cp/proc-short-read.sh
|
||||||
|
index e466720..2a61127 100755
|
||||||
|
--- a/tests/cp/proc-short-read.sh
|
||||||
|
+++ b/tests/cp/proc-short-read.sh
|
||||||
|
@@ -21,7 +21,7 @@ print_ver_ cp
|
||||||
|
|
||||||
|
kall=/proc/kallsyms
|
||||||
|
|
||||||
|
-test -r $kall || skip_ "your system lacks $kall"
|
||||||
|
+skip_ "If the content of $kall changed on the fly, this test would fail."
|
||||||
|
|
||||||
|
# Before coreutils-7.3, cp would copy less than 4KiB of this 1MB+ file.
|
||||||
|
cp $kall 1 || fail=1
|
||||||
|
--
|
||||||
|
2.21.1
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A set of basic GNU tools commonly used in shell scripts
|
Summary: A set of basic GNU tools commonly used in shell scripts
|
||||||
Name: coreutils
|
Name: coreutils
|
||||||
Version: 8.31
|
Version: 8.31
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Url: https://www.gnu.org/software/coreutils/
|
Url: https://www.gnu.org/software/coreutils/
|
||||||
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||||
@ -16,6 +16,9 @@ Source106: coreutils-colorls.csh
|
|||||||
# md5sum,b2sum,sha*sum: --help: add note about binary/text mode
|
# md5sum,b2sum,sha*sum: --help: add note about binary/text mode
|
||||||
Patch1: coreutils-8.31-sums-man-pages.patch
|
Patch1: coreutils-8.31-sums-man-pages.patch
|
||||||
|
|
||||||
|
# skip a test that relies on /proc/kallsyms having immutable content
|
||||||
|
Patch2: coreutils-8.31-disable-test-cp-proc-short-read.patch
|
||||||
|
|
||||||
# disable the test-lock gnulib test prone to deadlock
|
# disable the test-lock gnulib test prone to deadlock
|
||||||
Patch100: coreutils-8.26-test-lock.patch
|
Patch100: coreutils-8.26-test-lock.patch
|
||||||
|
|
||||||
@ -235,6 +238,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 30 2020 Kamil Dudka <kdudka@redhat.com> - 8.31-8
|
||||||
|
- skip a test that relies on /proc/kallsyms having immutable content
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org>
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org>
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user