summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-08-01 08:07:14 +0200
committerHans de Graaff <graaff@gentoo.org>2018-08-01 08:07:14 +0200
commit3f98861c58b09f0be417a7ceffa82f29f638c552 (patch)
tree56e7f95b82cc8a4b941c9d796e51df7bf7feaaab /dev-ruby/session
parentdev-ruby/elasticsearch: add 6.1.0 (diff)
downloadgentoo-3f98861c58b09f0be417a7ceffa82f29f638c552.tar.gz
gentoo-3f98861c58b09f0be417a7ceffa82f29f638c552.tar.bz2
gentoo-3f98861c58b09f0be417a7ceffa82f29f638c552.zip
dev-ruby/session: fix broken test
Closes: https://bugs.gentoo.org/662514 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/session')
-rw-r--r--dev-ruby/session/session-3.2.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/session/session-3.2.0.ebuild b/dev-ruby/session/session-3.2.0.ebuild
index 0925580e9b6a..0074f5c3fb75 100644
--- a/dev-ruby/session/session-3.2.0.ebuild
+++ b/dev-ruby/session/session-3.2.0.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
@@ -29,6 +29,9 @@ all_ruby_prepare() {
# needed to void a collision with the Timeout::Error alias in Ruby
# 1.8.7 at least.
sed -i -e 's:TimeoutError:SessionTimeoutError:' test/session.rb || die
+
+ # Fix broken test, bug 662514
+ sed -i -e '/cmd =/ s/sleep 0.1"/sleep 0.1";/' test/session.rb || die
}
each_ruby_test() {