commit 9dc613bad2408561281a99fb1eea4e554d446346
Author: Jan Palus <at...@pld-linux.org>
Date:   Wed Apr 4 23:12:14 2018 +0200

    quick fix for failing test until upstream delivers proper one

 git-core-race_test.patch | 11 +++++++++++
 git-core.spec            |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/git-core.spec b/git-core.spec
index b3b882c..388797f 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -30,6 +30,7 @@ Source7:      gitolite.pl
 Patch0:                %{name}-key-bindings.patch
 Patch1:                %{name}-sysconfdir.patch
 Patch2:                cherry-picked-commitlog.patch
+Patch3:                %{name}-race_test.patch
 URL:           http://git-scm.com/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -435,6 +436,7 @@ Moduł trzeba zarejestrować poleceniem:
 %patch0 -p0
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %{__rm} 
{Documentation/technical,contrib/emacs,contrib/credential/gnome-keyring}/.gitignore
 
diff --git a/git-core-race_test.patch b/git-core-race_test.patch
new file mode 100644
index 0000000..1ff6062
--- /dev/null
+++ b/git-core-race_test.patch
@@ -0,0 +1,11 @@
+diff -u -r git-2.17.0.orig/t/t5570-git-daemon.sh 
git-2.17.0/t/t5570-git-daemon.sh
+--- git-2.17.0.orig/t/t5570-git-daemon.sh      2018-04-04 22:46:50.449393002 
+0200
++++ git-2.17.0/t/t5570-git-daemon.sh   2018-04-04 22:47:11.655798538 +0200
+@@ -192,6 +192,7 @@
+       GIT_OVERRIDE_VIRTUAL_HOST=localhost \
+               git -c protocol.version=1 \
+                       ls-remote "$GIT_DAEMON_URL/interp.git" &&
++        sleep 1 &&
+       grep -i extended.attribute daemon.log | cut -d" " -f2- >actual &&
+       test_cmp expect actual
+ '
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/561578e13782e981e8f4e474cb759762d5f77982

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to