parent
af1f9fda49
commit
fc99096be2
30
subversion-1.14.1-fixjavatests.patch
Normal file
30
subversion-1.14.1-fixjavatests.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
See upstream dev@subversion thread. Fixes intermittent failure of
|
||||||
|
javahl tests, particularly reproducible on aarch64.
|
||||||
|
|
||||||
|
Message-ID: <11de5f5c-5059-b973-95a1-385e7913a63a@syntevo.com>
|
||||||
|
From: Alexandr Miloslavskiy
|
||||||
|
|
||||||
|
--- subversion-1.14.1/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java.fixjavatests
|
||||||
|
+++ subversion-1.14.1/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
|
||||||
|
@@ -4676,7 +4676,19 @@
|
||||||
|
// RuntimeException("Test exception") is expected here
|
||||||
|
}
|
||||||
|
|
||||||
|
- tunnelAgent.joinAndTest();
|
||||||
|
+ // In this test, there is a race condition that sometimes results in
|
||||||
|
+ // IOException when 'WAIT_TUNNEL' tries to read from a pipe that
|
||||||
|
+ // already has its read end closed. This is not an error, but
|
||||||
|
+ // it's hard to distinguish this case from other IOException which
|
||||||
|
+ // indicate a problem. To reproduce, simply wrap this test's body in
|
||||||
|
+ // a loop. The workaround is to ignore any detected IOException.
|
||||||
|
+ //
|
||||||
|
+ // tunnelAgent.joinAndTest();
|
||||||
|
+ try {
|
||||||
|
+ tunnelAgent.join();
|
||||||
|
+ } catch (InterruptedException e) {
|
||||||
|
+ e.printStackTrace ();
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
14
subversion-1.14.1-testnoautoprops.patch
Normal file
14
subversion-1.14.1-testnoautoprops.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
Fix intermittent failures when "svn add" guesses a near-empty file is binary and hence
|
||||||
|
the output is different.
|
||||||
|
|
||||||
|
--- subversion-1.14.1/subversion/tests/cmdline/svntest/main.py.testnoautoprops
|
||||||
|
+++ subversion-1.14.1/subversion/tests/cmdline/svntest/main.py
|
||||||
|
@@ -691,6 +691,7 @@
|
||||||
|
|
||||||
|
[miscellany]
|
||||||
|
interactive-conflicts = false
|
||||||
|
+enable-auto-props = no
|
||||||
|
"""
|
||||||
|
if exclusive_wc_locks:
|
||||||
|
config_contents += """
|
@ -1,6 +1,5 @@
|
|||||||
# set to zero to avoid running test suite
|
# Disable to avoid all the test suites
|
||||||
# Temporary disable the tests for Perl mass rebuild
|
%bcond_without tests
|
||||||
%bcond_with tests
|
|
||||||
|
|
||||||
%if 0%{?rhel} || 0%{?eln}
|
%if 0%{?rhel} || 0%{?eln}
|
||||||
%bcond_with kwallet
|
%bcond_with kwallet
|
||||||
@ -57,7 +56,7 @@
|
|||||||
Summary: A Modern Concurrent Version Control System
|
Summary: A Modern Concurrent Version Control System
|
||||||
Name: subversion
|
Name: subversion
|
||||||
Version: 1.14.1
|
Version: 1.14.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://subversion.apache.org/
|
URL: https://subversion.apache.org/
|
||||||
Source0: https://downloads.apache.org/subversion/subversion-%{version}.tar.bz2
|
Source0: https://downloads.apache.org/subversion/subversion-%{version}.tar.bz2
|
||||||
@ -73,6 +72,8 @@ Patch2: subversion-1.14.0-testwarn.patch
|
|||||||
Patch3: subversion-1.14.0-soversion.patch
|
Patch3: subversion-1.14.0-soversion.patch
|
||||||
Patch4: subversion-1.8.0-rubybind.patch
|
Patch4: subversion-1.8.0-rubybind.patch
|
||||||
Patch5: subversion-1.8.5-swigplWall.patch
|
Patch5: subversion-1.8.5-swigplWall.patch
|
||||||
|
Patch6: subversion-1.14.1-testnoautoprops.patch
|
||||||
|
Patch7: subversion-1.14.1-fixjavatests.patch
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: autoconf, libtool, texinfo, which, gcc, gcc-c++
|
BuildRequires: autoconf, libtool, texinfo, which, gcc, gcc-c++
|
||||||
BuildRequires: swig >= 1.3.24, gettext
|
BuildRequires: swig >= 1.3.24, gettext
|
||||||
@ -234,6 +235,8 @@ This package includes supplementary tools for use with Subversion.
|
|||||||
%patch3 -p1 -b .soversion
|
%patch3 -p1 -b .soversion
|
||||||
%patch4 -p1 -b .rubybind
|
%patch4 -p1 -b .rubybind
|
||||||
%patch5 -p1 -b .swigplWall
|
%patch5 -p1 -b .swigplWall
|
||||||
|
%patch6 -p1 -b .testnoautoprops
|
||||||
|
%patch7 -p1 -b .fixjavatests
|
||||||
|
|
||||||
:
|
:
|
||||||
: === Building:
|
: === Building:
|
||||||
@ -574,6 +577,9 @@ make check-javahl
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 29 2021 Joe Orton <jorton@redhat.com> - 1.14.1-6
|
||||||
|
- fix intermittent FTBFS in tests (#1956806)
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-5
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user