File: workaround_EINVAL_on_kfreebsd

package info (click to toggle)
subversion 1.14.5-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 80,416 kB
  • sloc: ansic: 1,039,361; python: 140,229; cpp: 24,862; java: 24,547; ruby: 12,312; lisp: 7,619; sh: 7,414; perl: 7,010; sql: 1,686; makefile: 1,191; xml: 577
file content (21 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: James McCoy <jamessan@debian.org>
Date: Wed, 1 Aug 2018 20:44:36 -0400
Subject: workaround_EINVAL_on_kfreebsd

---
 subversion/bindings/swig/ruby/test/util.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/subversion/bindings/swig/ruby/test/util.rb b/subversion/bindings/swig/ruby/test/util.rb
index 4f54992..d61b715 100644
--- a/subversion/bindings/swig/ruby/test/util.rb
+++ b/subversion/bindings/swig/ruby/test/util.rb
@@ -371,6 +371,8 @@ exit 1
 	TCPSocket.new(@svnserve_host, port).close
       rescue Errno::ECONNREFUSED
 	sleep(n < 10 ? 0.2 : 0.5)
+      rescue Errno::EINVAL
+	sleep(n < 10 ? 0.2 : 0.5)
       else
 	return true
       end