From: Hans de Graaff Date: Sat, 23 May 2020 09:13:31 +0000 (+0200) Subject: dev-ruby/file-tail: avoid test with race condition X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9e74052e1dd96d3c73c952c0fa89f771445430d;p=gentoo.git dev-ruby/file-tail: avoid test with race condition Closes: https://bugs.gentoo.org/723822 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/file-tail/file-tail-1.2.0.ebuild b/dev-ruby/file-tail/file-tail-1.2.0.ebuild index 2a1cd8f29230..4d1d4ec10c74 100644 --- a/dev-ruby/file-tail/file-tail-1.2.0.ebuild +++ b/dev-ruby/file-tail/file-tail-1.2.0.ebuild @@ -27,6 +27,10 @@ IUSE="" ruby_add_rdepend "=dev-ruby/tins-1*" ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" +all_ruby_prepare() { + sed -i -e '/test_tail_change2/aomit "has race condition"' tests/file_tail_test.rb || die +} + each_ruby_test() { ruby-ng_testrb-2 -Ilib tests/*_test.rb