diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-23 11:13:31 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-23 11:13:58 +0200 |
commit | c9e74052e1dd96d3c73c952c0fa89f771445430d (patch) | |
tree | b5fba02a824dea61728c2a9ed4a4dcad32e2d567 /dev-ruby/file-tail | |
parent | dev-ruby/file-tail: add ruby27 (diff) | |
download | gentoo-c9e74052e1dd96d3c73c952c0fa89f771445430d.tar.gz gentoo-c9e74052e1dd96d3c73c952c0fa89f771445430d.tar.bz2 gentoo-c9e74052e1dd96d3c73c952c0fa89f771445430d.zip |
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 <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/file-tail')
-rw-r--r-- | dev-ruby/file-tail/file-tail-1.2.0.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 |