From c9e74052e1dd96d3c73c952c0fa89f771445430d Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 23 May 2020 11:13:31 +0200 Subject: [PATCH] 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 --- dev-ruby/file-tail/file-tail-1.2.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2